This command will list all installed gems by name:
Location on disk
If you are looking for the location gems are stored on you hard drive, you have to start with this command:
The output of gem env will show all gem-related environment variables. To find the location of you gems you will need to look for a section called GEM_PATHS.
- GEM PATHS:
The example above is taken from my system. There, gem files are located in /home/hlars/.rvm/gems/ruby-2.2.1 – in the subfolder gems.
On my system I will find the gem files in: