somen people say ruby1.9 don't surpport wxruby,so i change into ruby
1.8
there is problem too:
pt@pt-laptop:~$ sudo find / -name 'fox16'
[sudo] password for pt:
/var/lib/gems/1.8/gems/fxruby-1.6.20-x86-linux/ext/fox16
/var/lib/gems/1.8/gems/fxruby-1.6.20-x86-linux/lib/fox16
/var/lib/gems/1.8/doc/fxruby-1.6.20-x86-linux/rdoc/files/lib/fox16
pt@pt-laptop:~$ irb
irb(main):001:0> require 'fox16'
LoadError: no such file to load -- fox16
from (irb):1:in `require'
from (irb):1
irb(main):002:0>
you can see fox16 is installed on my system,but i can't require
it,why?
And download fxruby-1.6.20-gem (the one labelled "any" rather than
"linux"). Manually downloading and installing this will recompile the
extension from source against ruby 1.9, rather than using the
fxruby-linux gem which is presumably compiled against ruby 1.8.
martin
···
On Thu, May 6, 2010 at 9:29 AM, Pen Ttt <myocean135@yahoo.cn> wrote:
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/fxruby-1.6.20-x86-linux/lib/fox16.so
from
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/fxruby-1.6.20-x86-linux/lib/fox16.rb:6:in
`require'
from
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/fxruby-1.6.20-x86-linux/lib/fox16.rb:6:in
`<top (required)>'
from (irb):1:in `require'
from (irb):1
from /usr/local/ruby/bin/irb:12:in `<main>'
irb(main):002:0>
--
Posted via http://www.ruby-forum.com/\.
somen people say ruby1.9 don't surpport wxruby,so i change into ruby
1.8
there is problem too:
pt@pt-laptop:~$ sudo find / -name 'fox16'
[sudo] password for pt:
/var/lib/gems/1.8/gems/fxruby-1.6.20-x86-linux/ext/fox16
/var/lib/gems/1.8/gems/fxruby-1.6.20-x86-linux/lib/fox16
/var/lib/gems/1.8/doc/fxruby-1.6.20-x86-linux/rdoc/files/lib/fox16
pt@pt-laptop:~$ irb
irb(main):001:0> require 'fox16'
LoadError: no such file to load -- fox16
from (irb):1:in `require'
from (irb):1
from :0
irb(main):002:0>
you can see fox16 is installed on my system,but i can't require
it,why?
irb(main):001:0> require 'fox16'
LoadError: no such file to load -- fox16
from (irb):1:in `require'
from (irb):1
irb(main):002:0> require 'rubygems'
=> true
irb(main):003:0> require 'fox16'
=> true
irb(main):004:0>
You first need to load rubygems.
Dan
···
On Thu, May 06, 2010 at 02:30:07PM +0900, Pen Ttt wrote:
from :0
--
Daniel Bye
_
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \