I just updated my gems. Got sequel 3.9.0. Now, plugin :active_model
fails. I read the active_model is required. What does this mean? I
tried reguire 'active_model'. That was unknown.
Here is the error I get: (it occurs on the plugin :active_model of my
Player < Sequel::Model
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:158:in `require': no such file to load
-- sequel_active_model (MissingSourceFile)
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/
lib/active_support/dependencies.rb:158: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 /home/gregd/development/euchre/r2010.1/app/models/
player.rb:10:in `<class:Player>'
from /home/gregd/development/euchre/r2010.1/app/models/
player.rb:2:in `<top (required)>'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/
lib/active_support/dependencies.rb:158:in `require'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/
lib/active_support/dependencies.rb:158:in `require'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/
lib/active_support/dependencies.rb:265:in `require_or_load'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/
lib/active_support/dependencies.rb:224:in `depend_on'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/
lib/active_support/dependencies.rb:136:in `require_dependency'
from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/
initializer.rb:414:in `block (2 levels) in load_application_classes'
from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/
initializer.rb:413:in `each'
from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/
initializer.rb:413:in `block in load_application_classes'
from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/
initializer.rb:411:in `each'
from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/
initializer.rb:411:in `load_application_classes'
from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/
initializer.rb:197:in `process'
from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/
initializer.rb:113:in `run'
from /home/gregd/development/euchre/r2010.1/config/
environment.rb:9:in `<top (required)>'
from /home/gregd/development/euchre/r2010.1/spec/
spec_helper.rb:4:in `require'
from /home/gregd/development/euchre/r2010.1/spec/
spec_helper.rb:4:in `<top (required)>'
from /home/gregd/development/euchre/r2010.1/spec/controllers/
tournaments_controller_spec.rb:1:in `require'
from /home/gregd/development/euchre/r2010.1/spec/controllers/
tournaments_controller_spec.rb:1:in `<top (required)>'
from /usr/local/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/
runner/example_group_runner.rb:15:in `load'
from /usr/local/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/
runner/example_group_runner.rb:15:in `block in load_files'
from /usr/local/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/
runner/example_group_runner.rb:14:in `each'
from /usr/local/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/
runner/example_group_runner.rb:14:in `load_files'
from /usr/local/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/
runner/options.rb:133:in `run_examples'
from /usr/local/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/
runner/command_line.rb:9:in `run'
from /usr/local/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/bin/spec:
5:in `<main>'
rake aborted!
Command /usr/local/bin/ruby -I"lib" "/usr/local/lib/ruby/gems/1.9.1/
gems/rspec-1.3.0/bin/spec" "spec/helpers/possessive_spec.rb" "spec/
helpers/players_helper_spec.rb" "spec/models/player_spec.rb" "spec/
models/tournament_type_spec.rb" "spec/models/tournament_spec.rb" "spec/
models/tournament_status_spec.rb" "spec/controllers/
players_controller_spec.rb" "spec/controllers/
tournaments_controller_spec.rb" "spec/controllers/
sessions_controller_spec.rb" "spec/controllers/
authenticated_system_spec.rb" "spec/controllers/
access_control_spec.rb" --options "/home/gregd/development/euchre/
r2010.1/spec/spec.opts" failed
--
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.