Config

Public
Config helps you easily manage environment specific settings in an easy and usable manner.
Icons/chart bar
Used 15 times
Created by
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' do
<<-RUBY
  gem 'config'
RUBY
end

after_bundle do
  rails_command 'g config:install'
end
Comments

Sign up or Login to leave a comment.