Alec Ross
2007-Sep-18 10:23 UTC
Installation and use question (linux) [was installation ... ]
... >... >>gem install wxruby >> >Great. Many, many thanks to yourself and all involved. > >FWIW, I''ve just, in the last min, installed it on an i586-linux box. >The nearest option being i686-linux. Another newbie question from me, I''m afraid. The gem installs reported successful install; but I can''t find wxruby. (Using ''find /'' with -name, -ilname etc.) So what more do I need to do? I ran the gem install from my home directory, and expected that perhaps I''d need to add path(s). But obviously I need to do something(s) else and/or differently. TIA for any help. Regards, Alec -- Alec Ross
Alex Fenton
2007-Sep-18 10:32 UTC
[wxruby-users] Installation and use question (linux) [was installation ... ]
Alec Ross wrote:> ... > >... > >>gem install wxruby > >> > >Great. Many, many thanks to yourself and all involved. > > > >FWIW, I''ve just, in the last min, installed it on an i586-linux box. > >The nearest option being i686-linux. >I don''t think this should be a problem, but I''m not sure. The names of the gems are automatically generated and they can cause problems if they are changed. I make the linux gems on Ubuntu 7.4 and if someone could tell me how to get it make i386-linux or similar I''d be happy to do that.> Another newbie question from me, I''m afraid. The gem installs reported > successful install; but I can''t find wxruby. (Using ''find /'' with > -name, -ilname etc.) So what more do I need to do? I ran the gem > install from my home directory, and expected that perhaps I''d need to > add path(s). But obviously I need to do something(s) else and/or > differently.wxRuby''s library and samples will be installed in path/to/ruby/lib/ruby/1.8/gems/wxruby-1.9.1/ eg /usr/local/lib/ruby/... You don''t need to add these paths anywhere. As with any library being used from a gem, you need to tell ruby to allow libraries to be loaded by rubygems. There are several ways to do this, but briefly, you can do it on the command line: ruby -rubygems my_wxruby_script.rb or at the start of the ruby script, before you load wx require ''rubygems'' require ''wx'' hth alex
Alec Ross
2007-Sep-18 10:46 UTC
[wxruby-users] Installation and use question (linux) [was installation ... ]
In message <46EFA93F.6040104 at pressure.to>, Alex Fenton <alex at pressure.to> writes>Alec Ross wrote:... [snip v. clear and useful advice] Many thanks for your help (and patience), Alex Alec -- Alec Ross
Alec Ross
2007-Sep-18 12:36 UTC
[wxruby-users] Installation and use question (linux) [was installation ... ]
...>wxRuby''s library and samples will be installed in >path/to/ruby/lib/ruby/1.8/gems/wxruby-1.9.1/ eg /usr/local/lib/ruby/...Or, in my case, subdirectories of /usr/lib/ruby/gems/1.8/gems/wxruby-1.9.1-i686-linux/samples/ , on openSUSE 10.2 (In case this helps another SuSE user.) Tks again, Alec -- Alec Ross