Created
May 21, 2015 12:59
-
-
Save MarceloCajueiro/d32b9cb50cfd5777052b to your computer and use it in GitHub Desktop.
Shell functions to use with Rails/Spring
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
rake() { if [ -f bin/rake ]; then bin/rake "$@"; else bundle exec rake "$@"; fi } | |
rails() { if [ -f bin/rails ]; then bin/rails "$@"; else bundle exec rails "$@"; fi } | |
rspec() { if [ -f bin/rspec ]; then bin/rspec "$@"; else bundle exec rspec "$@"; fi } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment