install.sh 352 B

123456789101112131415
  1. #!/bin/bash
  2. fw_depends rvm nginx java7
  3. if [ "$TRAVIS" = "true" ]
  4. then
  5. rvmsudo rvm install ruby-2.0.0-p0
  6. rvmsudo rvm install jruby-1.7.8
  7. else
  8. rvm install ruby-2.0.0-p0
  9. rvm install jruby-1.7.8
  10. fi
  11. rvm ruby-2.0.0-p0 do bundle install --gemfile=$TROOT/Gemfile-ruby --path vendor/bundle
  12. rvm jruby-1.7.8 do bundle install --gemfile=$TROOT/Gemfile-jruby