On 22 December 2015 at 19:13, tom <[email protected]> wrote: > NoMethodError: undefined method `set' for main:Object > > /apps/app_a/production/releases/20151222191024/config/environments/production.rb:2:in > > > >>>production.rb > > set :sidekiq_role, :app > set :sidekiq_config, "#{current_path}/config/sidekiq.yml" > set :sidekiq_env, 'production' > > set :deploy_to, "/apps/app_a/production" > set :rails_env, "production" > set :stage, 'production' > set :branch, "master" > > set :whenever_environment, 'production' > set :whenever_identifier, "production"
I think those should be in deploy.rb not production.rb. Though I think some could be in deploy/production.rb rather than environments/production.rb which may be where the confusion has arisen. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtNDd%3DhcpBR1FK9JOY6N6WCFZX-w1t50d%2BZ5Qf4koWRmA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

