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 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.What does your Gemfile look like?> > Any tips? Thanks! > -Kevin
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 On Jul 11, 6:41?pm, David Chelimsky <dchelim... at gmail.com> wrote:> On Jul 10, 2010, at 2:08 PM, Kevin 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. > > What does your Gemfile look like? > > > > > Any tips? ?Thanks! > > -Kevin > > _______________________________________________ > rspec-users mailing list > rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users