Changed rake to bundle exec rake. Seems to be the only thing working now.

Can anyone provide insight as to why? There have been reports of this around the forums.
This commit is contained in:
Nick Sahler 2013-09-30 14:48:35 -04:00
parent 3f0c03a20c
commit 53e4f4b691
1 changed files with 4 additions and 4 deletions

View File

@ -199,8 +199,8 @@ Initialize the database:
# The database name here should match the production one in database.yml
cd /var/www/discourse
createdb discourse_prod
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production rake db:migrate
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production rake assets:precompile
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake db:migrate
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake assets:precompile
Not english? Set the default language as appropriate:
@ -334,8 +334,8 @@ The corresponding site setting is:
# "Check sample configuration files for new settings"
#
bundle install --without test --deployment
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production rake db:migrate
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production rake assets:precompile
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake db:migrate
RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake assets:precompile
# restart bluepill
crontab -l
# Here, run the command to start bluepill.