How to find your Ruby gem installation path
It took me a bit too long to Google this, so I thought it was worth a note: You can find the location or path to where your Ruby gems are installed at with this command:
gem environment gemdir
Hope it’s useful!
Posted: March 30th, 2010 by Neal Enssle
Tags: gems, howto, programming, rails, ruby, rubygems
2 Comments »
Actually that just points you to:
- The folder under which these is a folder (gems)
– Under which there are many others folders… one of which will be your ruby gem installation path.
Unfortunately there does not seem to be a gem equivalent of Gem.bin_path, whcih would return ‘your Ruby gem installation path’
It really helps! Thank you!