From: Kent Dahl Date: 2002-09-04T22:04:19+09:00 Subject: Re: 'require' error - simple q. mike wrote: > > when trying to run simple ruby scripts I get an error like this: > > techntronic]$./xcalc.rb > /xcalc.rb:20:in `require': No such file to load -- gtk (LoadError) > from ./xcalc.rb:20 > > I get this same error from other scripts (er yes > I have gtk installed...) And you have also installed the gtk bindings for Ruby? (Just checking the semi-obvious) If so, check in your lib/ruby directory to make sure you have gtk.so On my system, it is located at /usr/lib/ruby/1.6/i586-linux-gnu/gtk.so but this varies from system to system. If it isn't there, perhaps you forgot to do "make install" or "make site-install" when installing the gtk bindings. HTH -- (\[ Kent Dahl ]/)_ _~_ __[ http://www.stud.ntnu.no/~kentda/ ]___/~ ))\_student_/(( \__d L b__/ NTNU - graduate engineering - 5. year ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)