Problem in loading files (require...)

A

Abir B.

Hello
I've installed VimMate, but when I run it I've the following error :
'Module gtk2 is required to run this program'
But when I verify, I've a folder gtk2, gtk2.rb and gnome2.rb in
/usr/lib/ruby/site_ruby/1.8/

And I've the same problem with require 'SVG', I installed this gem from
a .gem file and I see it in :
/usr/local/lib/ruby/site_ruby/1.8/
But I can't use it and it's not listed in the output of the command 'gem
list'

Thanks
 
V

Vasyl Smirnov

Hello
I've installed VimMate, but when I run it I've the following error :
'Module gtk2 is required to run this program'
But when I verify, I've a folder gtk2, gtk2.rb and gnome2.rb in
/usr/lib/ruby/site_ruby/1.8/

And I've the same problem with require 'SVG', I installed this gem from
a .gem file and I see it in :
/usr/local/lib/ruby/site_ruby/1.8/

Did you use "gem install ..." to install it?
Looks like your have ruby installed in both /usr and /usr/local, which
may surely lead to confusion.
 
A

Abir B.

Vasyl said:
Did you use "gem install ..." to install it?
Looks like your have ruby installed in both /usr and /usr/local, which
may surely lead to confusion.

Yes I think I have confusion between Ruby versions because I uninstalled
Ruby from Linux by yum, but I still have it... And this two folders
still exists
 

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

Forum statistics

Threads
474,274
Messages
2,571,368
Members
48,060
Latest member
JerrodSimc

Latest Threads

Top