Skip to content

Instantly share code, notes, and snippets.

@hopsoft
Created March 20, 2012 15:11
Show Gist options
  • Save hopsoft/2136761 to your computer and use it in GitHub Desktop.
Save hopsoft/2136761 to your computer and use it in GitHub Desktop.
A list of tips and tricks for the shell
# search all installed gems
$ rvm gemdir | xargs ack "def fail" {}
# search within a specific gem
$ bundle show cancan | xargs ack "def can?" {}
# open a gem in Sublime
$ bundle show warden | xargs subl {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment