[fxruby-users] New fxruby version and maintenance

Lars Kanis lars at greiz-reinsdorf.de
Mon Jan 30 03:18:26 EST 2012


> with
> root at mepis1:~# gem install fxruby
> Fetching: fxruby-1.6.20-x86-linux.gem (100%)
> ERROR:  While executing gem ... (Gem::Exception)
>    ruby_code case not handled: Regexp
> root at mepis1:~# gem install fxruby
> [/usr/local/rvm/gems/ruby-1.8.7-p357 at rails2tutorial/specifications/fxruby-1.6.20-x86-linux.gemspec]
> isn't a Gem::Specification (NilClass instead).
> [/usr/local/rvm/gems/ruby-1.8.7-p357 at rails2tutorial/specifications/fxruby-1.6.20-x86-linux.gemspec]
> isn't a Gem::Specification (NilClass instead).
> ERROR:  While executing gem ... (Gem::Exception)
>    ruby_code case not handled: Regexp

This is issue #1, which is fixed in fxrubi-1.6.22.pre1:
https://github.com/lylejohnson/fxruby/issues/2
You should do a
  rm /usr/local/rvm/gems/ruby-1.8.7-p357 at rails2tutorial/specifications/fxruby-1.6.20-x86-linux.gemspec
to get rid of the error.

> I don't know if this will help you but I still have a problem with my
> rvm and the pre release foxrubi. The libs did not go anywhere outside
> of the gem dir. Should they get installed in ruby lib or site-ruby?

No, nothing needs to be installed in ruby/site-ruby. But you need to
type a proper "rvm use" in each shell to enable the gemset. Also you
may have to adjust the gem dependency of your application to use the
"fxrubi" instead of "fxruby". Then each fxruby application should work
with require 'fox16'.


More information about the fxruby-users mailing list