From 182ced0c1b708cb46127dcd1b37b004667577d83 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Thu, 6 Feb 2014 15:26:40 +0100 Subject: [PATCH] Correctly set the env for rake assets:precompile --- config/software/gitlab-core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/software/gitlab-core.rb b/config/software/gitlab-core.rb index 103cde0..c909cd3 100644 --- a/config/software/gitlab-core.rb +++ b/config/software/gitlab-core.rb @@ -37,7 +37,7 @@ build do # build. command "sed -i 's/.*REVISION.*/REVISION = \"#{version_guid.split(':').last[0,10]}\"/' config/initializers/2_app.rb" bundle "install --without mysql development test --path=#{install_dir}/embedded/service/gem" - rake "assets:precompile", "RAILS_ENV" => "production" + rake "assets:precompile", :env => {"RAILS_ENV" => "production"} command "mkdir -p #{install_dir}/embedded/service/gitlab-core" command "#{install_dir}/embedded/bin/rsync -a --delete --exclude=.git/*** --exclude=.gitignore ./ #{install_dir}/embedded/service/gitlab-core/" block do -- libgit2 0.21.2