Created
September 12, 2011 05:58
-
-
Save kzgs/1210657 to your computer and use it in GitHub Desktop.
do each rubies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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