|
10 år sedan | |
---|---|---|
.. | ||
grape | 10 år sedan | |
ngx_mruby | 10 år sedan | |
padrino | 10 år sedan | |
rack | 10 år sedan | |
rails | 10 år sedan | |
rails-stripped | 10 år sedan | |
sinatra | 10 år sedan | |
README.md | 11 år sedan |
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.