Merge pull request #1485 from nicksahler/patch-1

Changed rake to bundle exec rake. Seems to be the only thing working now...
This commit is contained in:
Sam 2013-09-30 14:42:40 -07:00
commit 420cd7aa2c

View file

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