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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

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

ios - I get the error Property '...' not found on object of type '...' -