diff options
author | Alex Denisov <1101.debian@gmail.com> | 2013-01-26 14:22:48 +0000 |
---|---|---|
committer | Alex Denisov <1101.debian@gmail.com> | 2013-01-26 14:22:48 +0000 |
commit | 6ab6c55de5516ac636b5ca1147c1d1f81831c599 (patch) | |
tree | 65fc325393652cac93e2558531a28b9b637b08e9 /lib | |
parent | b68bba441eaa9baf76dc2c0f9532615aaec3137b (diff) | |
download | gitlab-ce-6ab6c55de5516ac636b5ca1147c1d1f81831c599.tar.gz |
Missed environment added to 'Try fixing it' block
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/check.rake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index 826b78ec5b1..1ca723f271a 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -169,7 +169,7 @@ namespace :gitlab do else puts "no".red try_fixing_it( - sudo_gitlab("bundle exec rake db:migrate") + sudo_gitlab("bundle exec rake db:migrate RAILS_ENV=production") ) fix_and_rerun end @@ -194,7 +194,7 @@ namespace :gitlab do else puts "no".red try_fixing_it( - sudo_gitlab("bundle exec rake gitlab:satellites:create"), + sudo_gitlab("bundle exec rake gitlab:satellites:create RAILS_ENV=production"), "If necessary, remove the tmp/repo_satellites directory ...", "... and rerun the above command" ) @@ -789,7 +789,7 @@ namespace :gitlab do else puts "wrong or missing".red try_fixing_it( - sudo_gitlab("bundle exec rake gitlab:gitolite:update_repos") + sudo_gitlab("bundle exec rake gitlab:gitolite:update_repos RAILS_ENV=production") ) for_more_information( "doc/raketasks/maintenance.md" @@ -895,7 +895,7 @@ namespace :gitlab do else puts "no".red try_fixing_it( - sudo_gitlab("bundle exec rake sidekiq:start") + sudo_gitlab("bundle exec rake sidekiq:start RAILS_ENV=production") ) for_more_information( see_installation_guide_section("Install Init Script"), |