Commit 7ea3bbd4 authored by Christian Mehlmauer's avatar Christian Mehlmauer

add bundle clean to upgrade docs

parent dc3ea7eb
...@@ -64,6 +64,9 @@ sudo -u git -H bundle install --without postgres development test --deployment ...@@ -64,6 +64,9 @@ sudo -u git -H bundle install --without postgres development test --deployment
# PostgreSQL installations (note: the line below states '--without mysql') # PostgreSQL installations (note: the line below states '--without mysql')
sudo -u git -H bundle install --without mysql development test --deployment sudo -u git -H bundle install --without mysql development test --deployment
# Clean up old gems
sudo -u git -H bundle clean
# Run database migrations # Run database migrations
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
......
...@@ -62,6 +62,7 @@ sudo -u git -H bundle install --without development test mysql --deployment ...@@ -62,6 +62,7 @@ sudo -u git -H bundle install --without development test mysql --deployment
# MySQL # MySQL
sudo -u git -H bundle install --without development test postgres --deployment sudo -u git -H bundle install --without development test postgres --deployment
sudo -u git -H bundle clean
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment