On Mon, May 21, 2012 at 12:34 AM, Russ Teabeault <rteabea...@rallydev.com> wrote: > I was going to take a look at using RVM as well. It should be possible to > run the tests for each supported ruby by using 'rvm exec'. > > You could do something like > > rvm 1.9.2-p320,1.8.7-p358,jruby-1.6.7 exec rake spec
I think we had to go a bit further but the same sort of idea. I think the code does something like [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"; rm Gemfile.lock; rvm 1.9.2-p320 exec rake bundle install; rvm 1.9.2-p320 exec rake bundle exec spec -- Cheers, Peter Donald