run_jruby_puma.sh 266 B

12345678910111213
  1. #!/bin/bash
  2. THREAD_FACTOR=1
  3. . $(dirname $0)/config/common_run.sh
  4. fw_depends $DBTYPE rvm jruby-9.1
  5. rvm use jruby-$JRUBY_VERSION
  6. . $(dirname $0)/config/bundle_install.sh
  7. bundle exec puma -t $MAX_CONCURRENCY:$MAX_CONCURRENCY -b tcp://0.0.0.0:8080 -e production &