Prerequisites:

Initialize Infisical for your Rails app

# navigate to the root of your of your project 
cd /path/to/project

# then initialize Infisical
infisical init

Start your application as usual but with Infisical

infisical run -- <your application start command>

# Example 
infisical run -- bin/rails server

Was this page helpful?