So I"m sure someone has come across this before...but how do you fix the gem_original_require probl

I get this when trying to install gems:
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’: no such file to load – rdoc/rdoc (LoadError)

The trouble is, I also get it when trying to install rubygems…so I
wound up installing 0.9.4. I can’t seem to get an earlier version on
the machine…

Any ideas?

Thanks,

Ron

Hi Ron,

On 7 Jun 2008, at 20:14, Ron wrote:

I get this when trying to install gems:
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’: no such file to load – rdoc/rdoc (LoadError)

The trouble is, I also get it when trying to install rubygems…so I
wound up installing 0.9.4. I can’t seem to get an earlier version on
the machine…

Any ideas?

I’m not entirely sure this is the issue, but it appears that you’re
trying to install the gems on a system that only has ruby installed,
but not the other ruby-tools like irb, ir, rdoc, etc.

You can either try skipping the RDoc documentation generation when
installing the gems (‘gem help install’ and look for the --no-rdoc
option), or else install the packages that provide the above mentioned
tools:

e.g. in case you’re using yum on linux:

~ $ yum list installed ‘ruby*’
Loading “installonlyn” plugin
Loading “downloadonly” plugin
Installed Packages
ruby.i386 1.8.5.35-2.fc5
installed
ruby-devel.i386 1.8.5.35-2.fc5
installed
ruby-irb.i386 1.8.5.35-2.fc5
installed
ruby-libs.i386 1.8.5.35-2.fc5
installed
ruby-rdoc.i386 1.8.5.35-2.fc5
installed
ruby-ri.i386 1.8.5.35-2.fc5
installed
~ $ _

Hope this helps,

Peter

Ron wrote:

I get this when trying to install gems:
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’: no such file to load – rdoc/rdoc (LoadError)

The trouble is, I also get it when trying to install rubygems…so I
wound up installing 0.9.4. I can’t seem to get an earlier version on
the machine…

Any ideas?

Thanks,

Ron

I had the same problem, from Peter’s reply, i installed “ri” and that
solved the problem.

sudo apt-get install ri

then followed reinstalling all that had failed.

Hi Ron,

On Jun 7, 8:14 pm, Ron [email protected] wrote:

I get this when trying to install gems:
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’: no such file to load – rdoc/rdoc (LoadError)

The trouble is, I also get it when trying to install rubygems…so I
wound up installing 0.9.4. I can’t seem to get an earlier version on
the machine…

I’m not entirely sure this is the issue, but it appears that you’re
trying to install the gems on a system that only has ruby installed,
but not the other ruby-tools like irb, ir, rdoc, etc.

You can either try skipping the RDoc documentation generation when
installing the gems (‘gem help install’ and look for the --no-rdoc
option), or else install the packages that provide the above mentioned
tools:

e.g. in case you’re using yum on linux:

~ $ yum list installed ‘ruby*’
Loading “installonlyn” plugin
Loading “downloadonly” plugin
Installed Packages
ruby.i386 1.8.5.35-2.fc5
installed
ruby-devel.i386 1.8.5.35-2.fc5
installed
ruby-irb.i386 1.8.5.35-2.fc5
installed
ruby-libs.i386 1.8.5.35-2.fc5
installed
ruby-rdoc.i386 1.8.5.35-2.fc5
installed
ruby-ri.i386 1.8.5.35-2.fc5
installed
~ $ _

Hope this helps,

Peter