---
title: "Ruby on Rails"
---

Prerequisites:

- Set up and add envars to [Infisical Cloud](https://app.infisical.com)
- [Install the CLI](/cli/overview)

## Initialize Infisical for your [Rails](https://rubyonrails.org) app

```bash
# move to your Rails app
cd /path/to/project

# initialize infisical
infisical init
```

## Start your server with environment variables injected

```bash
infisical run -- bin/rails server
```
