Joined January 2013
·

Sam Halicke

Shop Smart
·
Chicago, IL
·
·
·

Heh. There's a reason I added the 'choke on your own hubris' part. ;-)

Posted to quickly find where a gem is installed over 1 year ago

@hanjianwei gem which returns results that include the full name of the gem (e.g. gem which bundler returns a path ending in bundler.rb where in this case i want only the directory name)

In this particular case, I want to know the gem's directory from inside Ruby, not necessarily from the command line. I use pry here to demonstrate interactively.

Achievements
209 Karma
8,333 Total ProTip Views