How do I find the full installation path of a gem in rails.
bundle show gem_name
gives
/var/lib/gems/1.9.1/gems/gem_name-version
My problem is, what directory is the 'var' folder in? I've tried looking in C:/Ruby but it's a really large folder and I don't want to spend all day manually combing my hard drive.
On Windows, you typically find them back in (depending on your ruby version)
C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems
From within your Rails application, you can also run
Gem.loaded_specs['gem_name'].full_gem_path
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With