ruby - MacRuby, error when using Sequel -


i have installed sequel using command sudo macgem install sequel. tells me sequel-3.18.0 installed.

when fire xcode, , start new macruby application, sets target unit tests. have modified stub_test.rb following 2 lines:

require "rubygems" require "sequel" 

when trying run unit tests, following error:

/users/.../macruby test/tests/run_suite.rb:1:in `<main>': super: no superclass method `require' sequel:class (nomethoderror) 

without 2 require statements, tests run fine.

i have tried google this, , found following ticket on macruby.org:

ticket #930 sigabrt in macruby 0.7 sequel + sqlite3-ruby gem [...] after patching kernel#require issue in sequel, able load both sequel, , sqlite3, no problems. [...] required libraries sequel (patched kernel.require, instead of super in sequel#self.require), , sqlite3-ruby. [...]

i can't find patch anywhere else, though...

is there known issue? error message mean, , how can work?

what version of macruby run? also, run 32-bit mac?

in environment, 64-bit intel mac running macruby trunk, able install , require sequel.

 $ /usr/local/bin/macruby -r rubygems -e "require 'sequel'; p 42" 42 

as eloy said, better report macruby problems our mailing-list or ticket trac instead. http://www.macruby.org/contact-us.html


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -