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