Skip to content

Instantly share code, notes, and snippets.

@kzgs
Created September 12, 2011 05:58
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 kzgs/1210657 to your computer and use it in GitHub Desktop.
Save kzgs/1210657 to your computer and use it in GitHub Desktop.
do each rubies
#!/bin/bash
RVM_HOME='~/.rvm'
RUBY186=$RVM_HOME'/rubies/ruby-1.8.6-p420/bin/ruby'
RUBY187=$RVM_HOME'/rubies/ruby-1.8.7-p352/bin/ruby'
for f in `ls *.rb`; do
echo "########## $f ##########"
$RUBY186 $f
$RUBY187 $f
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment