Created
June 18, 2013 11:35
-
-
Save mkempe/5804668 to your computer and use it in GitHub Desktop.
Find path of installed gem through ruby.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
specs = Gem.latest_spec_for 'foo' | |
puts specs.gem_dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment