lib/negroku/tasks/base.rb in negroku-0.0.6 vs lib/negroku/tasks/base.rb in negroku-0.0.7
- old
+ new
@@ -19,10 +19,10 @@
migrate
end
desc "Performs an Active Record migration."
task :migrate do
- run "cd '#{release_path}' && #{env} rake db:migrate"
+ run "cd '#{release_path}' && RAILS_ENV=#{rails_env} rake db:migrate"
end
desc "Sets up additional symlinks after deploy."
task :symlinks do
# Exmaple: