run_thin.sh 244 B

123456789
  1. #!/bin/bash
  2. fw_depends rvm ruby-2.0.0
  3. sed -i 's|127.0.0.1|'${DBHOST}'|g' config/database.yml
  4. rvm ruby-2.0.0-p0 do bundle install --gemfile=$TROOT/Gemfile --path vendor/bundle
  5. rvm ruby-2.0.0-p0 do bundle exec thin start -C config/thin.yml &