-
-
Save cupakromer/10546387 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
for path in `rbenv root`"/versions/"*; do | |
if [ -d "$path" ] && [ ! -h "$path" ]; then | |
export RBENV_VERSION="${path##*/}" | |
echo "=== Running 'rake spec' for $RBENV_VERSION ===" | |
rm -f Gemfile.lock | |
rbenv exec bundle install --local | |
rbenv exec rake spec | |
echo && echo | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment