Getting strange loading problem..>> bundle exec rspec -p spec/models/*give error: .. .rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/ dependencies.rb:240:in `require'': no such file to load -- rspec/rails (LoadError) from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/ lib/active_support/dependencies.rb:240:in `block in require'' from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/ lib/active_support/dependencies.rb:225:in `load_dependency'' from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/ lib/active_support/dependencies.rb:240:in `require'' from /home/slava/dev/projects/bitcoin-derivatives/spec/spec_helper.rb: 4:in `<top (required)>''>>bundle show rspec-rails/home/slava/.rvm/gems/ruby-1.9.2-p290/gems/rspec-rails-1.3.2 So rspec is in the bundle, but all of a sudden (it used to work) can not be loaded.. Any ideas please? Thank you. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frederick Cheung
2011-Oct-12 16:11 UTC
Re: `require'': no such file to load -- rspec/rails (LoadError)
On Oct 12, 4:08 pm, slava <mikerin.sl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Getting strange loading problem..>> bundle exec rspec -p spec/models/* > > give error: > .. > .rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/ > dependencies.rb:240:in `require'': no such file to load -- rspec/rails > (LoadError) > from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/ > lib/active_support/dependencies.rb:240:in `block in require'' > from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/ > lib/active_support/dependencies.rb:225:in `load_dependency'' > from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/ > lib/active_support/dependencies.rb:240:in `require'' > from /home/slava/dev/projects/bitcoin-derivatives/spec/spec_helper.rb: > 4:in `<top (required)>'' > > >>bundle show rspec-rails > > /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/rspec-rails-1.3.2 > > So rspec is in the bundle, but all of a sudden (it used to work) can > not be loaded.. Any ideas please? Thank you.If I remember correctly, the 1.x versions of spec don''t work with rails 3.x Fred -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.