On Sep 3, 4:49 pm, "Giles Bowkett" <gil... / gmail.com> wrote:
> >> require "serialport.so"
> NameError: (eval):1:in `private_class_method': undefined method
> `create' for class `Class'
>         from (eval):1
>         from (eval):1
>         from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:28:in
> `require'
>         from (irb):1

I wrote ruby-nxt... there's something wrong with ruby serialport when
you are also loading rubygems.  I got around it by not doing a require
'serialport', instead do Kernel::require "serialport".