run_trinidad.sh 284 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 trinidad --config config/trinidad.yml &