|
@@ -8,7 +8,9 @@ sed -i 's|host: .*|host: '"${DBHOST}"'|g' config/database.yml
|
|
|
source $HOME/.rvm/scripts/rvm
|
|
|
|
|
|
rm -f Gemfile
|
|
|
-cp Gemfile-jruby Gemfile
|
|
|
-cp Gemfile-jruby.lock Gemfile.lock
|
|
|
+cp Gemfile-ruby Gemfile
|
|
|
+cp Gemfile-ruby.lock Gemfile.lock
|
|
|
+
|
|
|
+$NGINX_HOME/sbin/nginx -c $TROOT/config/nginx.conf
|
|
|
|
|
|
rvm ruby-2.0.0-p0 do bundle exec unicorn_rails -E production -c $TROOT/config/unicorn.rb &
|