List Info

Thread:




country flaguser name
United Kingdom
2007-09-18 05:23:45
...
 >...
 >>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
_______________________________________________
wxruby-users mailing list
wxruby-usersrubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/wxruby-users

Re:
country flaguser name
United Kingdom
2007-09-18 05:32:31
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-usersrubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/wxruby-users

Re:
country flaguser name
United Kingdom
2007-09-18 05:46:58
In message <46EFA93F.6040104pressure.to>, Alex
Fenton 
<alexpressure.to> writes
>Alec Ross wrote:

...
[snip v. clear and useful advice]

Many thanks for your help (and patience), Alex

Alec
-- 
Alec Ross
_______________________________________________
wxruby-users mailing list
wxruby-usersrubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/wxruby-users

Re:
country flaguser name
United Kingdom
2007-09-18 07:36:02
...
>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
_______________________________________________
wxruby-users mailing list
wxruby-usersrubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/wxruby-users

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )