Add simple, Heroku-friendly Rails app configuration using ENV and a single YAML file.
Used 45 times
I
Ivan Raszl
Usage
This script creates a commented config/application.yml file and adds it to your .gitignore. Once the script has run, add your own configuration to this file and restart your rails server. Read more about figaro on github.
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/VRZs9V"
Template Source
Review the code before running this template on your machine.
run "bundle add figaro"
run "bundle install"
run "bundle exec figaro install"