Skip to content

By uscasNcash advance

Tag Archives: rubygem

Ruby serialport gem.

Ruby-serialport doesn’t play well with RubyGems. Trying to require ‘serialport’ when using RubyGems results in: NameError: (eval):1:in `private_class_method’: undefined method `create’ for class `Class’ from (eval):1 from (eval):1 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’ from (irb):2 The quick fix to get around this is by doing: Kernel::require ‘serialport’ It would be nicer if we could avoid the conflict [...]