- RAILS_ENV=production rake db:setup && \
- rake assets:precompile && \
- chown www-data:www-data tmp_omniauth log config.ru -R && \
+ cp config/environments/production.rb.example config/environments/production.rb && \
+ RAILS_ENV=production /usr/local/rvm/bin/rvm-exec default bundle exec rake db:setup && \
+ /usr/local/rvm/bin/rvm-exec default bundle exec rake assets:precompile && \
+ chown www-data:www-data log config.ru -R && \