I have just installed Sequel using the command sudo macgem install sequel
. It tells me sequel-3.18.0 was successfully installed.
When I fire up xcode, and start a new MacRuby application, it sets up a target for unit tests. I have modified stub_test.rb
with the following two lines:
require "rubygems"
require "sequel"
When trying to run the unit tests, I get the following error:
/Users/.../macRuby Test/Tests/run_suite.rb:1:in `<main>': super: no superclass method `require' for Sequel:Class (NoMethodError)
Without the two require
statements, the tests run fine.
I have tried to google this, and found the following ticket on macruby.org:
Ticket #930 SIGABRT in MacRuby 0.7 with Sequel + SQLite3-Ruby gem [...] After patching for Kernel#require issue in Sequel, I am able to load both Sequel, and SQLite3, with no problems. [...] Required libraries are Sequel (Patched for Kernel.require, instead of super in Sequel#self.require), and SQLite3-Ruby. [...]
I can't find anything about this patch anywhere else, though...
Is there any known issue? What does this error message mean, and how I can get this to work?