I needed to add         gem 'activerecord',       RAILS_VERSION to my
Gemfile.  I put it in the test group.

Rspec still works with DM, its just the AR gem needed to be loaded.
Require doesn't do it the same was as the gemfile, apparently.

Ciao,
Kevin

On Jul 9, 10:04 am, Kevin <[email protected]> wrote:
> I keep getting this error message:
>
> /Users/kevin/.bundle/ruby/1.8/gems/rspec-rails-2.0.0.beta.16/lib/rspec/
> rails/fixture_support.rb:12: uninitialized constant
> RSpec::Rails::FixtureSupport::ActiveRecord (NameError)
>         from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0.beta4/lib/
> active_support/concern.rb:17:in `class_eval'
>         from /Library/Ruby/Gems/1.8/gems/activesupport-
>
> I've tried including   require 'rails' in my application.rb, so it
> would load AR even though I'm not using it, but this didn't help.
>
> Any tips?
> -Kevin

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en.

Reply via email to