Does rspec2 work with datamapper?

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? Thanks!
-Kevin

On Jul 10, 2010, at 2:08 PM, Kevin wrote

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.

What does your Gemfile look like?

Thanks - I didn’t have activerecord in the gemfile, thought I was
loading it later. I still haven’t quite wrapped my head around what
uses the gemfile vs. other things, but it’s working now!
-Kevin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs