Want to know what Ruby version is being used? Or into what directory gems are being installed?
$ gem environment
This command will answer those questions and give you a whole host of other information about your RubyGems environment.
There are more details in their documentation.