setup_jruby.sh 276 B

123456789
  1. #!/bin/bash
  2. fw_depends rvm jruby-1.7
  3. sed -i 's|host: .*|host: '"${DBHOST}"'|g' config/database.yml
  4. rvm jruby-$JRUBY_VERSION do bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
  5. rvm jruby-$JRUBY_VERSION do bundle exec torqbox -b 0.0.0.0 -E production &