run_mri_puma.sh 261 B

1234567
  1. #!/bin/bash
  2. fw_depends mysql rvm ruby-2.1
  3. rvm ruby-$MRI_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
  4. DB_HOST=${DBHOST} rvm ruby-$MRI_VERSION do bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production &