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
_______________________________________________
wxruby-users mailing list
wxruby-users rubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/wxruby-users
|