Make sure we have a conference/environments/production.rb file so that
[arvados-dev.git] / jenkins / run-build-packages.sh
index af352852b6a580777b8565e8936430d681e70da6..7b1b3d7d091a7bcb2468f70c1ba09ba10f1fc739 100755 (executable)
@@ -746,8 +746,9 @@ fi
 # from the package - empty it instead.
 rm -rf $WORKSPACE/apps/workbench/tmp/*
 
-# Set up application.yml so that asset precompilation works
+# Set up application.yml and production.rb so that asset precompilation works
 \cp config/application.yml.example config/application.yml -f
+\cp config/environments/production.rb.example config/environments/production.rb -f
 sed -i 's/secret_token: ~/secret_token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/' config/application.yml
 
 RAILS_ENV=production RAILS_GROUPS=assets bundle exec rake assets:precompile >/dev/null