Skip to content

Instantly share code, notes, and snippets.

@elado
Last active December 11, 2015 16:28
Show Gist options
  • Select an option

  • Save elado/4627720 to your computer and use it in GitHub Desktop.

Select an option

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

rbaulin commented Jul 2, 2013

Copy link
Copy Markdown

awesome.

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