Commit 182ced0c1b708cb46127dcd1b37b004667577d83
1 parent
044c871d
Exists in
master
and in
17 other branches
Correctly set the env for rake assets:precompile
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/software/gitlab-core.rb
... | ... | @@ -37,7 +37,7 @@ build do |
37 | 37 | # build. |
38 | 38 | command "sed -i 's/.*REVISION.*/REVISION = \"#{version_guid.split(':').last[0,10]}\"/' config/initializers/2_app.rb" |
39 | 39 | bundle "install --without mysql development test --path=#{install_dir}/embedded/service/gem" |
40 | - rake "assets:precompile", "RAILS_ENV" => "production" | |
40 | + rake "assets:precompile", :env => {"RAILS_ENV" => "production"} | |
41 | 41 | command "mkdir -p #{install_dir}/embedded/service/gitlab-core" |
42 | 42 | command "#{install_dir}/embedded/bin/rsync -a --delete --exclude=.git/*** --exclude=.gitignore ./ #{install_dir}/embedded/service/gitlab-core/" |
43 | 43 | block do | ... | ... |