We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9344263 commit 54aeb23Copy full SHA for 54aeb23
config/deploy.rb
@@ -122,10 +122,10 @@ def setup_shared_config(path)
122
after 'deploy:migrations', 'god:reboot'
123
124
namespace 'db' do
125
- desc "run RAILS_ENV=#{fetch(:stage, 'staging')} rake db:seed_2010 on rubykaigi.org. sweet :)"
+ desc "run RAILS_ENV=#{fetch(:stage, 'staging')} bundle exec rake db:seed_2010 on rubykaigi.org. sweet :)"
126
task 'seed_2010', :roles => :app do
127
stage = fetch(:stage, 'staging')
128
- run("cd #{current_path} && RAILS_ENV=#{stage} rake db:seed_2010")
+ run("cd #{current_path} && RAILS_ENV=#{stage} bundle exec rake db:seed_2010")
129
end
130
131
before 'db:seed_2010', 'deploy'
0 commit comments