From: mike Date: 2002-09-05T06:14:21+09:00 Subject: Re: 'require' error - simple q. Oops! Looks like I didn't have ruby-gtk installed. Thanks! On Wed, Sep 04, 2002 at 10:04:19PM +0900, Kent Dahl wrote: > 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___) -- 'evolution is a process/ to slow to save my soul' -the germs