run_jruby_puma.sh 271 B

12345678910
  1. #!/bin/bash
  2. sed -i 's| host:.*| host:'"${DBHOST}"'|g' config/database.yml
  3. # We assume single-user installation as
  4. # done in our rvm.sh script and
  5. # in Travis-CI
  6. source $HOME/.rvm/scripts/rvm
  7. rvm jruby-1.7.8 do bundle exec puma -b tcp://0.0.0.0:8080 -e production &