Created
June 4, 2012 20:16
-
-
Save larzconwell/2870608 to your computer and use it in GitHub Desktop.
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
function rn { | |
local app_name=$1 | |
shift | |
# Doing "$@" will include all arguments(Including the app name) | |
# But if you make it skip the first argument it will fix that (: | |
rails new $app_name --skip-bundle "${@:2}" && cd $app_name && bundle install --local | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment