lib/alpha_omega/deploy.rb in alpha_omega-1.1.6 vs lib/alpha_omega/deploy.rb in alpha_omega-1.1.7
- old
+ new
@@ -639,10 +639,10 @@
after "deploy:bundle", "node:bundle"
namespace :assets do
task :build do
unless deploy_path_name == migrate_path_name
- run "cd #{deploy_release} && bin/bundle-assets"
+ run "cd #{deploy_release} && RAILS_ENV=#{dna["app_env"]} bin/bundle-assets"
end
end
end
after "deploy:build", "assets:build"