lib/ors/helpers.rb in ors-0.0.2 vs lib/ors/helpers.rb in ors-0.0.3
- old
+ new
@@ -65,10 +65,10 @@
def run_migrations server
info "[#{server}] running migrations..."
execute_command server, %(cd #{deploy_directory}),
- %(RAILS_ENV=#{environment} rake db:migrate db:seed)
+ %(RAILS_ENV=#{environment} bundle exec rake db:migrate db:seed)
end
def execute_in_parallel servers
servers.map do |server|
Thread.new(server) do |server|