Config helps you easily manage environment specific settings in an easy and usable manner.
Used 25 times
E
Emanuele Bonanno
Usage
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/z0gsZk"
Template Source
Review the code before running this template on your machine.
inject_into_file 'Gemfile', before: 'group :development, :test do' do
<<-RUBY
gem 'config'
RUBY
end
after_bundle do
rails_command 'g config:install'
end