[Rubygems-developers] Gem Names not correlated to require name

Eric Hodel drbrain at segment7.net
Tue Sep 30 19:59:32 EDT 2008

On Sep 30, 2008, at 13:51 PM, Jim Freeze wrote:

> One way (just one, mind you) is that if require_gem really required
> the gem. So, you would have
>  require_gem 'gem_name_here'
> and the gem did the requiring of the files internal.

There is no require_gem (anymore).

$ ruby -rubygems -e 'require_gem "ZenTest"'
-e:1: undefined method `require_gem' for main:Object (NoMethodError)

More information about the Rubygems-developers mailing list