OK... I seem to be a little confused here, but that's not new for me.
After trying to install ambition, I see that the version from gem
install is only 0.5.2. ambitious-activerecord requires 0.5.3, so I
saw another post here that said someone simply cloned it directly into
their vendor/plugins folder. Sounds good:
In vendor/plugins I've got ambition and ambitious_activerecord. Let's
boot up some console:
thoraxe@vmdora ~/railsapps/equine $ script/console
Loading development environment (Rails 2.0.2)
NoMethodError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.const_get
from /home/thoraxe/railsapps/equine/vendor/plugins/ambition/
lib/ambition/processors/base.rb:102:in `translator'
from /home/thoraxe/railsapps/equine/vendor/plugins/ambition/
lib/ambition/processors/base.rb:94:in `translator'
from /home/thoraxe/railsapps/equine/vendor/plugins/ambition/
lib/ambition/processors/slice.rb:11:in `to_s'
from /home/thoraxe/railsapps/equine/vendor/plugins/ambition/
lib/ambition/context.rb:45:in `<<'
from /home/thoraxe/railsapps/equine/vendor/plugins/ambition/
lib/ambition/api.rb:33:in `slice'
from /home/thoraxe/railsapps/equine/vendor/plugins/ambition/
lib/ambition/api.rb:47:in `first'
from (irb):3
Not looking so good for me. Someone on #ambition on freenode
suggested trying to install the gem directly:
thoraxe@vmdora ~/railsapps/equine/vendor/plugins/ambition $ rake
install_gem
(in /home/thoraxe/railsapps/equine/vendor/plugins/ambition)
Not doing any of the Echoe gemmy stuff, because you don't have the
specified gem versions
rake aborted!
Don't know how to build task 'manifest'
(See full trace by running task with --trace)
(in /home/thoraxe/railsapps/equine/vendor/plugins/ambition)
Not doing any of the Echoe gemmy stuff, because you don't have the
specified gem versions
Well, installing echoe allowed me to rake install_gem for both
ambition and ambitious-activerecord. I'm still getting the same error
when actually trying to use ambitious-activerecord:
thoraxe@vmdora ~/railsapps/equine $ script/console
Loading development environment (Rails 2.0.2)
NoMethodError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.const_get
from /usr/lib/ruby/gems/1.8/gems/ambition-0.5.4/lib/ambition/
processors/base.rb:102:in `translator'
from /usr/lib/ruby/gems/1.8/gems/ambition-0.5.4/lib/ambition/
processors/base.rb:94:in `translator'
from /usr/lib/ruby/gems/1.8/gems/ambition-0.5.4/lib/ambition/
processors/slice.rb:11:in `to_s'
from /usr/lib/ruby/gems/1.8/gems/ambition-0.5.4/lib/ambition/
context.rb:45:in `<<'
from /usr/lib/ruby/gems/1.8/gems/ambition-0.5.4/lib/ambition/
api.rb:33:in `slice'
from /usr/lib/ruby/gems/1.8/gems/ambition-0.5.4/lib/ambition/
api.rb:47:in `first'
from (irb):3