run_jruby_puma.sh 247 B

123456789
  1. #!/bin/bash
  2. fw_depends rvm java7 jruby-1.7.8
  3. sed -i 's| host:.*| host: '"${DBHOST}"'|g' config/database.yml
  4. rvm jruby-1.7.8 do bundle install --gemfile=$TROOT/Gemfile
  5. rvm jruby-1.7.8 do bundle exec puma -b tcp://0.0.0.0:8080 -e production &