> ## Documentation Index
> Fetch the complete documentation index at: https://doc-test-my.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Ruby Server SDK Prerequisites

> Check the prerequisites before you integrate with Razorpay Ruby server-side SDK.

Install the Razorpay Ruby SDK and integrate it with your Ruby-based website to accept payments, initiate refunds and do much more.

## Dependencies

You must use Ruby v3.23 or higher. Know more about the [latest Ruby versions](https://www.ruby-lang.org/en/downloads/releases/).

## Installation

You can install the Ruby SDK in the following ways:

<Tabs>
  <Tab title="Add line to Gemfile">
    1. Add the below line to your Gemfile of the application:

    ```ruby Ruby theme={null}
    gem 'razorpay'
    ```

    2. Execute the following command:

    ```ruby Ruby theme={null}
    $ bundle
    ```
  </Tab>

  <Tab title="Execute Command">
    Alternatively, you can install it by executing the following command:

    ```ruby Ruby theme={null}
    $ gem install razorpay
    ```
  </Tab>
</Tabs>

<CardGroup cols={2}>
  <Card title="Payment Gateway" href="/docs/payments/server-integration/ruby/integration-steps">
    Integrate with Razorpay Payment Gateway.
  </Card>

  <Card title="API Sample Codes" href="https://github.com/razorpay/razorpay-ruby/tree/master/documents">
    Integrate using API sample codes.
  </Card>
</CardGroup>

## Support

* **Queries**: If you have queries, [contact support](https://curlec.com/support/).

* **Feature Request:** If you have a feature request, raise an issue on [GitHub](https://github.com/razorpay/razorpay-ruby/issues/new).
