Skip to content

Instantly share code, notes, and snippets.

@elado
Last active December 11, 2015 16:28
Show Gist options
  • Save elado/4627720 to your computer and use it in GitHub Desktop.
Save elado/4627720 to your computer and use it in GitHub Desktop.
Open/Edit a gem in Sublime Text.
# usage: ge devise
ge() {
gem=`bundle show $1`
if [[ "$gem" =~ ^/ ]];
then
echo "$gem"
`subl $gem`
else
echo "gem not found"
fi
}
@rbaulin
Copy link

rbaulin commented Jul 2, 2013

awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment