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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -