rspec/rspec-rails — Issue #489: RSpec 2.8 throws `load error: rspec/matchers/dsl ` under Rails 3.1.3 and JRuby 1.6.5.1
Author: deepj
Created: 2012-01-20 14:07:03+00:00
State: open

Hi,
I have a blank rails application with RSpec 2.8 and when I run `rake spec`. The following error is thrown:

```
load error: rspec/matchers/dsl -- java.lang.NullPointerException: null
```

Full stack trace:

```
require at org/jruby/RubyKernel.java:1047
require at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240
load_dependency at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223
new_constants_in at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640
new_constants_in at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:639
load_dependency at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223
require at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240
(root) at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/rspec-expectations-2.8.0/lib/rspec/matchers/be.rb:1
require at org/jruby/RubyKernel.java:1047
require at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240
load_dependency at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223
new_constants_in at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640
new_constants_in at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:639
load_dependency at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223
require at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240
(root) at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/rspec-expectations-2.8.0/lib/rspec/matchers/be.rb:181
require at org/jruby/RubyKernel.java:1047
require at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240
load_dependency at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223
new_constants_in at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640
new_constants_in at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:639
load_dependency at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223
require at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240
(root) at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/rspec-expectations-2.8.0/lib/rspec/matchers.rb:2
require at org/jruby/RubyKernel.java:1047
require at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240
load_dependency at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223
new_constants_in at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640
new_constants_in at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:639
load_dependency at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223
require at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240
(root) at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/rspec-expectations-2.8.0/lib/rspec/expectations.rb:2
require at org/jruby/RubyKernel.java:1047
require at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/rspec-2.8.0/lib/rspec.rb:68
each at org/jruby/RubyArray.java:1612
require at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:66
each at org/jruby/RubyArray.java:1612
require at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:55
require at /home/mar1221/.rvm/gems/jruby-1.6.5.1/gems/bundler-1.1.rc.7/lib/bundler.rb:118
(root) at /home/mar1221/ruby/tviitr/config/application.rb:13
require at org/jruby/RubyKernel.java:1047
(root) at /home/mar1221/ruby/tviitr/config/application.rb:21
require at org/jruby/RubyKernel.java:1047
(root) at script/rails:6
```