run_mri_puma.sh 315 B

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