Brittany Mazza 5e9c9318c7 Add vendor/bundle path for ruby bundle install 10 years ago
..
grape 006a704097 Add missing space 10 years ago
ngx_mruby 3f83017674 fix github url 10 years ago
padrino 5e9c9318c7 Add vendor/bundle path for ruby bundle install 10 years ago
rack 5e9c9318c7 Add vendor/bundle path for ruby bundle install 10 years ago
rails 1c402d8f06 Pass Ruby tests on Travis, except rbx tests 10 years ago
rails-stripped 5e9c9318c7 Add vendor/bundle path for ruby bundle install 10 years ago
sinatra 1c402d8f06 Pass Ruby tests on Travis, except rbx tests 10 years ago
README.md 87f2e6d999 Update RVM installation, fix rails 11 years ago

README.md

Using RVM to setup your environment

TFB uses rvm wherever possible to help ruby-based or jruby-based frameworks setup their environment. In your framework's bash_profile.sh, put this:

#!/bin/bash

# Assume single-user installation
source $HOME/.rvm/scripts/rvm

Because TFB uses Python's subprocess module, which runs all shell processes in a non-login mode, you must source the rvm script before using rvm anywhere. Placing the source call in your bash_profile.sh ensures that it will be called before running install.sh and before running setup.py

For compatibility with how the framework rounds are executed, you must use a single-user installation if you wish to run ruby-based TFB tests.