Skip to content
Cannot retrieve contributors at this time
16 lines (12 sloc) 431 Bytes
source /usr/local/share/chruby/
cd /apps
git clone
cd rails-example
export GEM_HOME=/gems/ruby/2.1.2
mkdir pids
chruby 2.1.2
bundle install --without development test
bundle exec rake db:create db:migrate db:seed RAILS_ENV=production
bundle exec rake assets:precompile RAILS_ENV=production
bundle exec unicorn_rails -c config/unicorn.rb -E production -p 3000
You can’t perform that action at this time.