On Jul 7, 5:24 pm, Yuri Smirnov <[email protected]> wrote:
> So your rubygems uses '/usr/lib/ruby/gems/1.9.1' directory and it `gem list`
> shows exactly the gems that are installed in this folder. However, your ruby
> LOAD_PATH has ' /var/lib/ruby/gems/1.9.1' instead.
> You may try to rename '/var/lib/ruby/gems/1.9.1' to smth. and then to run
> `ln -s /usr/lib/ruby/gems/1.9.1 /var/lib/ruby/gems/1.9.1` and it can help.
> But the best solution would be just to reinstall everything, and btw the rvm
> tool that Freak adviced you before works just fine for me.

I first uninstalled and deleted everything
(ruby,rubygems,folders,etc...) and then reinstalled just to be sure.
And the results were same. dm-core was installed in "/usr/lib/ruby/
gems/1.9.1/..." and there was nothing in $LOAD_PATH. I created a
symlink as you said and thankfully it worked. As you said it is
checking "/var/lib/gems/1.9.1/..." path. Problem has been solved
thanks to you but I still have no idea of the reason of this problem.
Is it a problem of ubuntu, or the distrubution of ruby i installed or
the datamapper? why other gems worked without problem and not
datamapper?

Anyway, thank you for guiding me.

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to