- #!/bin/bash
- fw_depends rvm ruby-2.0.0
- sed -i 's| host:.*| host: '"${DBHOST}"'|g' config/database.yml
- rvm ruby-2.0.0-p0 do bundle install --gemfile=$TROOT/Gemfile --path vendor/bundle
- rvm ruby-2.0.0-p0 do bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production &
|