Last active
August 29, 2015 14:06
-
-
Save oozzal/5ec3468e3f73d1e23ad4 to your computer and use it in GitHub Desktop.
Open bundler gem in vi.
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
# open gem specified by bundler in vim | |
# Usage: gopen activemerchant | |
function gopen() { | |
gem_path=`bundle show $1`; | |
cd $gem_path && vim $gem_path; | |
cd -; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment