Local gems not loaded in ruby > 1.9 without custom_require

B

Benjamin Ter kuile

I have a Kubuntu 9.10 64bit installation. I run ruby 1.8.7 and 1.9.1
next to eachother.
gem1.9.1 env returns:
....
- GEM PATHS:
- /usr/lib/ruby1.9.1/gems/1.9.1
- /home/username/.gem/ruby/1.9.1
....
but gems installed locally are not found by using require.
So:
require 'rubygems'
require 'mygem'
will fail
but......
require 'rubygems/custom_require'
require 'mygem'
is ok.
Is this an installation issue or due to the fact that gems are supposed
to load using a ruby installation even without requiring rubygems.

It is not a major issue, but nice if things work out of the box :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,008
Latest member
HaroldDark

Latest Threads

Top