Created
February 9, 2011 15:02
-
-
Save coderifous/818605 to your computer and use it in GitHub Desktop.
Handy aliases for frequently used bundler commands.
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
alias b='bundle' | |
# This gets used daily | |
alias be='b exec' | |
# Run this whenever there's an update to the Gemfile; regularly used. | |
alias bi='b install --path vendor' | |
# Run this the first time you add bundler to a project; rarely used. | |
alias binit='bi && b package && echo '\''vendor/ruby'\'' >> .gitignore' | |
# Using this jazz your app's gem dependencies will be packaged and a part of | |
# version control which gives finely controlled dependencies, reliable deployments, | |
# and makes it easy for team members to always be running with the right gem versions. | |
# Also, the unpacked libraries aren't checked in, so it's less noise in the version | |
# control. | |
# Credit to Ryan McGeary (@rmm5t) for these aliases. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment