So I'm curious where my devise gem is installed so I can do some source code diving on devise. This led me to ask where the gems are installed when you run bundle install.
So when I run this in my rails app directory:
bundle show
Gems included by the bundle:
* Ascii85 (1.0.2)
* CFPropertyList (2.3.2)
* aasm (4.3.0)
* actionmailer (3.2.22.2)
* actionpack (3.2.22.2)
* active_model_serializers (0.8.1)
* activeadmin (1.0.0.pre2)
* activemodel (3.2.22.2)
* activerecord (3.2.22.2)
* activeresource (3.2.22.2)
* activesupport (3.2.22.2)
* activeuuid (0.5.0)
* acts-as-taggable-on (3.5.0)
* acts_as_tree (2.2.0)
...
* devise (3.5.4)
When I run:
bundle show devise
/Users/jeffrey.wan/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/devise-3.5.4
What is that path? Where does it come from?
Also, more important question, does this mean that all gems when you run bundle install really jsut get installed on your Ruby?
What are the numbers 2.1.6 and 2.1.0?