On Mar 31, 10:53 pm, Jeremy Evans <[email protected]> wrote:

> Does it work outside of Rails?  As you can see, the error is raised by
> ActiveSupport.
>
> There is a fix for plugin loading that's available in the master
> branch, but this appears to be a different issue.

Okay, I tried in irb or I think I did this correctly.

gr...@cuda:~/development/r2010.1$ irb
irb(main):001:0> require 'sequel'
=> true
irb(main):002:0> Sequel::Model.plugin :active_model
LoadError: no such file to load -- sequel_active_model
        from /usr/local/lib/ruby/gems/1.9.1/gems/sequel-3.9.0/lib/
sequel/core.rb:238:in `require'
        from /usr/local/lib/ruby/gems/1.9.1/gems/sequel-3.9.0/lib/
sequel/core.rb:238:in `block in tsk_require'
        from /usr/local/lib/ruby/gems/1.9.1/gems/sequel-3.9.0/lib/
sequel/core.rb:83:in `block in check_requiring_thread'
        from <internal:prelude>:8:in `synchronize'
        from /usr/local/lib/ruby/gems/1.9.1/gems/sequel-3.9.0/lib/
sequel/core.rb:80:in `check_requiring_thread'
        from /usr/local/lib/ruby/gems/1.9.1/gems/sequel-3.9.0/lib/
sequel/core.rb:238:in `tsk_require'
        from /usr/local/lib/ruby/gems/1.9.1/gems/sequel-3.9.0/lib/
sequel/model/plugins.rb:71:in `rescue in plugin_module'
        from /usr/local/lib/ruby/gems/1.9.1/gems/sequel-3.9.0/lib/
sequel/model/plugins.rb:68:in `plugin_module'
        from /usr/local/lib/ruby/gems/1.9.1/gems/sequel-3.9.0/lib/
sequel/model/plugins.rb:32:in `plugin'
        from (irb):2
        from /usr/local/bin/irb:12:in `<main>'
irb(main):003:0>



I'll try with the fix, Jeremy, and let you know.  As of now, I have
rails configured for 3.8.0 until I can try the fix.


If you have any other thoughts, let me know.  I'm sort of new to using
sequel in rails.  Trying to use the same models for a web app and
client/server apps using monkey_bars.


Later,

GregD

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to