Guest User

Untitled

a guest
Jan 18th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. The command is :- C:\Rspec Test\spec\models>spec bank_account_spec.rb
  2.  
  3. The error is :-
  4.  
  5. c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-rails-1.3.0/lib/spec/rails/
  6. matchers/ ar_be_valid.rb:2: uninitialized constant Spec::Rails
  7. (NameError) from c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-
  8. rails-1.3.0/lib/spec/ra ils/matchers/ar_be_valid.rb:31:in require'
  9. from c:/jruby-1.5.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
  10. 31 :inrequire' from C:/Rspec Test/vendor/rails/activesupport/lib/
  11. active_support/depende ncies.rb:158:in require' from c:/jruby-1.5.0/
  12. lib/ruby/gems/1.8/gems/rspec-rails-1.3.0/lib/spec/ra ils/matchers.rb:2
  13. from c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-rails-1.3.0/lib/spec/
  14. ra ils/matchers.rb:31:inrequire' from c:/jruby-1.5.0/lib/ruby/
  15. site_ruby/1.8/rubygems/custom_require.rb:31 :in require' from C:/Rspec
  16. Test/vendor/rails/activesupport/lib/active_support/depende ncies.rb:
  17. 158:inrequire' from c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-
  18. rails-1.3.0/lib/spec/ra ils.rb:15 ... 13 levels... from C:/jruby-1.5.0/
  19. lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5 from C:/jruby-1.5.0/lib/
  20. ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:22:in `l oad' from c:/
  21. jruby-1.5.0/bin/spec:22
Add Comment
Please, Sign In to add comment