Skip to content

Instantly share code, notes, and snippets.

@simeonwillbanks
Last active December 21, 2015 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simeonwillbanks/6335781 to your computer and use it in GitHub Desktop.
Save simeonwillbanks/6335781 to your computer and use it in GitHub Desktop.
Use rbenv and zsh to run a test suite against multiple rubies. #ruby #zsh #rbenv #tdd
rubies=(1.8.7-p358 ree-1.8.7-2011.03 1.9.2-p290 1.9.3-p429 2.0.0-p247)
for r in $rubies
do
rbenv local $r; bundle install --without debug; CI=true bundle exec rake;
done
rubies=(1.8.7-p358 ree-1.8.7-2011.03 1.9.2-p290 1.9.3-p429 2.0.0-dev)
for r in $rubies
do
rbenv local $r; bundle exec rake
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment