I''ve tried calling foxGUIb from command line as ... ruby foxGUIb.rb got an error - no file found by that name ruby /usr/bin/foxGUIb.rb again got error to say i didn''t have permissions sudo ruby /usr/foxGUIb.rb and got informed .... /usr/bin/foxGUIb.rb:7:in `require'': no such file to load -- version (LoadError) from /usr/bin/foxGUIb.rb:7 Now do i need to add anything into ruby''s configuration (ie have a path pointing to anything?) Line 7 say require "Version" i have fox1.6 installed! many thanks. dave. Get the world's best email - http://nz.mail.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090127/c9be5830/attachment.html>
Michèle Garoche
2009-Jan-27 08:54 UTC
[fxruby-users] foxGUIb - believe it''s intalled okay but....
Le 27 janv. 2009 ? 09:19, dave L a ?crit :> I''ve tried calling foxGUIb from command line as ... > > ruby foxGUIb.rb got an error - no file found by that name > > ruby /usr/bin/foxGUIb.rb again got error to say i didn''t have > permissions > > sudo ruby /usr/foxGUIb.rb and got informed .... > /usr/bin/foxGUIb.rb:7:in `require'': no such file to load -- version > (LoadError) > from /usr/bin/foxGUIb.rb:7 > > Now do i need to add anything into ruby''s configuration (ie have a > path pointing to anything?) > Line 7 say require "Version" > > i have fox1.6 installed! > > many thanks.Not sure if it will be useful to you, but here''s how I call foxGuib: I''ve the source in /usr/local/src, so, once it is compiled and installed, I jump into it: cd /usr/local/src/foxGUIb_1.0.0/foxGUIb and call it for this directory (I''ve read somewhere that you should be in this directory to call it); ruby foxGUI.rb Of course X11 should be open beforehand (if you''re on a Mac), then after some time, you''ll see the edi and can work with it. Cheers, Mich?le <http://micmacfr.homeunix.org> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090127/49daf74a/attachment.html>
Meinrad Recheis
2009-Jan-27 09:04 UTC
[fxruby-users] foxGUIb - believe it''s intalled okay but....
On Tue, Jan 27, 2009 at 9:19 AM, dave L <dglnz at yahoo.com> wrote:> I''ve tried calling foxGUIb from command line as ... > > ruby foxGUIb.rb got an error - no file found by that name > > ruby /usr/bin/foxGUIb.rb again got error to say i didn''t have permissions > > sudo ruby /usr/foxGUIb.rb and got informed .... > /usr/bin/foxGUIb.rb:7:in `require'': no such file to load -- version > (LoadError) > from /usr/bin/foxGUIb.rb:7 > > Now do i need to add anything into ruby''s configuration (ie have a path > pointing to anything?) > Line 7 say require "Version" > > i have fox1.6 installed! > > many thanks. > > dave. >yes, you need to call it from the directory where foxguib.rb is located. i''m sure there is a quite easy way to get around this limitation. so if anyone cares to fix it i''d be glad to merge it in. btw.: for everyone who loves git, there is now a foxguib repo at github: git:// github.com/henon/foxguib.git -- henon -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090127/93d49ee6/attachment.html>
Hi Henon & Mich?le, Sorry but i''ve physically gone to the /usr/bin directory and ran the command with no joy!!! here is what i''ve got. dave at AMD3000:/usr/bin$ ruby foxGUIb.rb ruby: Permission denied -- foxGUIb.rb (LoadError) dave at AMD3000:/usr/bin$ sudo ruby foxGUIb.rb sudo: unable to resolve host AMD3000 foxGUIb.rb:7:in `require'': no such file to load -- version (LoadError) from foxGUIb.rb:7 dave at AMD3000:/usr/bin$ now i''ve actually got the sample programs working by going into the directory /spare/downloads/FXRuby.../examples/ruby <an example script> and it''s worked so i know i''ve got FXRuby installed okay or would it be Fox making it work? Could a ruby gem cause any issues? I did try and install a FXGem before getting FXRuby going this is what i got when last i tried to install FXRuby and so believe it installed correctly! ***** line below is start of the terminal screen grab ***** install timeout.rb /usr/local/lib/site_ruby/1.8/fox16 install undolist.rb /usr/local/lib/site_ruby/1.8/fox16 install version.rb /usr/local/lib/site_ruby/1.8/fox16 <--- lib/fox16 <--- lib ---> ext ---> ext/fox16 mkdir -p /usr/local/lib/site_ruby/1.8/i486-linux/. install fox16.so /usr/local/lib/site_ruby/1.8/i486-linux/. ---> ext/fox16/include <--- ext/fox16/include <--- ext/fox16 <--- ext dave at AMD3000:/spare/downloads/FXRuby-1.6.18$ ***** end of the terminal screen grab ***** ________________________________ From: Meinrad Recheis <meinrad.recheis at gmail.com> To: fxruby-users at rubyforge.org Sent: Tuesday, 27 January, 2009 10:04:20 PM Subject: Re: [fxruby-users] foxGUIb - believe it''s intalled okay but.... On Tue, Jan 27, 2009 at 9:19 AM, dave L <dglnz at yahoo.com> wrote: I''ve tried calling foxGUIb from command line as ... ruby foxGUIb.rb got an error - no file found by that name ruby /usr/bin/foxGUIb.rb again got error to say i didn''t have permissions sudo ruby /usr/foxGUIb.rb and got informed .... /usr/bin/foxGUIb.rb:7:in `require'': no such file to load -- version (LoadError) from /usr/bin/foxGUIb.rb:7 Now do i need to add anything into ruby''s configuration (ie have a path pointing to anything?) Line 7 say require "Version" i have fox1.6 installed! many thanks. dave. yes, you need to call it from the directory where foxguib.rb is located. i''m sure there is a quite easy way to get around this limitation. so if anyone cares to fix it i''d be glad to merge it in. btw.: for everyone who loves git, there is now a foxguib repo at github: git://github.com/henon/foxguib.git -- henon Get the world's best email - http://nz.mail.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090127/7f842943/attachment.html>
Meinrad Recheis
2009-Jan-27 10:14 UTC
[fxruby-users] foxGUIb - believe it''s intalled okay but....
On Tue, Jan 27, 2009 at 10:36 AM, dave L <dglnz at yahoo.com> wrote:> Hi Henon & Mich?le, > > Sorry but i''ve physically gone to the /usr/bin directory and ran the > command with no joy!!! > > here is what i''ve got. > > dave at AMD3000:/usr/bin$ ruby foxGUIb.rb > ruby: Permission denied -- foxGUIb.rb (LoadError) > dave at AMD3000:/usr/bin$ sudo ruby foxGUIb.rb > sudo: unable to resolve host AMD3000 > foxGUIb.rb:7:in `require'': no such file to load -- version (LoadError) > from foxGUIb.rb:7 > dave at AMD3000:/usr/bin$ >I doubt that foxguib.rb is located in /usr/bin. can you verify that please? I think you installed foxguib in a directory under /usr/bin such as /usr/bin/foxGUIb-1.7.0 or something like that. you need to cd in there and and start. sorry for the inconvenience. btw: you might want to move your installation of foxguib to your homedir in order to use it without sudo. -- henon> [...] >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090127/9e43ad72/attachment.html>