method

prefix

v2_4_6 - Show latest stable - Class: Gem
prefix()
public

The directory prefix this RubyGems was installed at. If your prefix is in a standard location (ie, rubygems is installed where you’d expect it to be), then prefix returns nil.