run_mri_puma.sh 288 B

123456789
  1. #!/bin/bash
  2. fw_depends rvm ruby-2.0.0
  3. sed -i 's| host:.*| host: '"${DBHOST}"'|g' config/database.yml
  4. rvm ruby-2.0.0-p0 do bundle install --gemfile=$TROOT/Gemfile --path vendor/bundle
  5. rvm ruby-2.0.0-p0 do bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production &