Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.6
-
Fix Version/s: JRuby 1.5
-
Component/s: Application Error
-
Labels:None
-
Environment:Ubuntu Linux, JDK 1.5, 1.6
-
Number of attachments :
Description
Autotest gives an error in jruby that doesn't occur in MRI when a clean Rails 2.2.2 project is created:
$ jruby -S rails spectest
$ jruby script/generate rspec
$ jruby script/generate rspec_controller test index
$ export RSPEC=true
$ jruby -S autotest
loading autotest/rails_rspec
/home/rich/local/jruby/bin/jruby -S spec/views/test/index.html.erb_spec.rb spec/controllers/test_controller_spec.rb spec/helpers/test_helper_spec.rb -O spec/spec.opts
spec/views/test/index.html.erb_spec.rb:1: undefined method `spec' for JRuby::Commands:Class (NoMethodError)
I am guessing -S spec/views/... is the real problem with this, so I am making it a subtask of the parent issue.