Skip to content

Commit 54aeb23

Browse files
committed
use bundle exec
1 parent 9344263 commit 54aeb23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/deploy.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ def setup_shared_config(path)
122122
after 'deploy:migrations', 'god:reboot'
123123

124124
namespace 'db' do
125-
desc "run RAILS_ENV=#{fetch(:stage, 'staging')} rake db:seed_2010 on rubykaigi.org. sweet :)"
125+
desc "run RAILS_ENV=#{fetch(:stage, 'staging')} bundle exec rake db:seed_2010 on rubykaigi.org. sweet :)"
126126
task 'seed_2010', :roles => :app do
127127
stage = fetch(:stage, 'staging')
128-
run("cd #{current_path} && RAILS_ENV=#{stage} rake db:seed_2010")
128+
run("cd #{current_path} && RAILS_ENV=#{stage} bundle exec rake db:seed_2010")
129129
end
130130
end
131131
before 'db:seed_2010', 'deploy'

0 commit comments

Comments
 (0)