Skip to content

Instantly share code, notes, and snippets.

@oozzal
Last active August 29, 2015 14:06
Show Gist options
  • Save oozzal/5ec3468e3f73d1e23ad4 to your computer and use it in GitHub Desktop.
Save oozzal/5ec3468e3f73d1e23ad4 to your computer and use it in GitHub Desktop.
Open bundler gem in vi.
# 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