ruby on rails - Specify gems specific for Heroku -


is there way specify gems installed when deploying heroku? want able have 2 production environments, 1 on heroku , on not.

you can set :heroku environment (or other string) separate :production heroku application. the documentation:

heroku config:set rack_env=heroku rails_env=heroku 

create config/environments/heroku.rb environment, other. can specify :heroku group in gemfile too.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -