pivotal/jasmine — Issue #147: Jasmine 1.1.1 breaks Rails (3.1.1)
Author: plindelauf
Created: 2011-10-18 08:11:07+00:00
State: open

Since Jasmine 1.1.1, Rails 3.1.1 (WebBrick, Rake, Cucumber, etc) fails with:

rake aborted!
uninitialized constant Jasmine
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@rails311/gems/jasmine-1.1.1/lib/jasmine.rb:4:in `'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@rails311/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `require'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@rails311/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@rails311/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `each'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@rails311/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `block in require'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@rails311/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `each'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@rails311/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `require'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@rails311/gems/bundler-1.0.21/lib/bundler.rb:122:in `require'
/Users/pascal/Projecten/RoR/bizplay/config/application.rb:7:in `'
/Users/pascal/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/Users/pascal/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/Users/pascal/Projecten/RoR/bizplay/Rakefile:4:in `'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in `load'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in `load_rakefile'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/application.rb:495:in `raw_load_rakefile'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/application.rb:78:in `block in load_rakefile'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/application.rb:77:in `load_rakefile'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/application.rb:61:in `block in run'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/bin/rake:32:in `'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@global/bin/rake:19:in `load'
/Users/pascal/.rvm/gems/ruby-1.9.2-p290@global/bin/rake:19:in `

'

Reverting to Jasmine 1.1.0 solves the problem.