Issue Type: Bug Bug
Affects Versions: JRuby 1.7.1
Assignee: Unassigned
Components: Core Classes/Modules
Created: 27/Dec/12 12:23 PM
Description:

I'm executing a rake task to run the rails functional tests, and an error is thrown when trying to start the environment. All required gems are installed.

jruby --1.9 -S rake test:functionals RAILS_ENV=test --trace

NOTE: This works fine on JRuby 1.6.6, but fails on 1.7.1.

    • Invoke test:functionals (first_time)
    • Invoke test:prepare (first_time)
    • Invoke db:test:prepare (first_time)
    • Invoke db:abort_if_pending_migrations (first_time)
    • Invoke environment (first_time)
    • Execute environment
    • Execute db:abort_if_pending_migrations
    • Execute db:test:prepare
    • Invoke db:test:load (first_time)
    • Invoke db:test:purge (first_time)
    • Invoke environment
    • Execute db:test:purge
    • Execute db:test:load
    • Invoke db:schema:load (first_time)
    • Invoke environment
    • Execute db:schema:load
    • Execute test:prepare
    • Execute test:functionals
      NameError: uninitialized constant Ilib
      const_missing at org/jruby/RubyModule.java:2677
      (root) at -Ilib;test:1
      rake aborted!
      Command failed with status (1): [C:/Ruby192/jruby-1.7.1/bin/jruby.exe -I"li...]
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/file_utils.rb:53:in `create_shell_runner'
      org/jruby/RubyProc.java:249:in `call'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/file_utils.rb:45:in `sh'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/file_utils_ext.rb:40:in `sh'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/file_utils.rb:80:in `ruby'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/file_utils_ext.rb:40:in `ruby'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/railties-3.0.9/lib/rails/test_unit/testing.rake:26:in `define'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/file_utils_ext.rb:57:in `_ensure_'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/file_utils_ext.rb:56:in `verbose'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/railties-3.0.9/lib/rails/test_unit/testing.rake:11:in `define'
      org/jruby/RubyProc.java:249:in `call'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/task.rb:205:in `execute'
      org/jruby/RubyArray.java:1612:in `each'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/task.rb:200:in `execute'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
      C:/Ruby192/jruby-1.7.1/lib/ruby/1.9/monitor.rb:211:in `_ensure_'
      C:/Ruby192/jruby-1.7.1/lib/ruby/1.9/monitor.rb:210:in `mon_synchronize'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/task.rb:144:in `invoke'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/application.rb:112:in `invoke_task'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/application.rb:90:in `top_level'
      org/jruby/RubyArray.java:1612:in `each'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/application.rb:90:in `top_level'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/application.rb:84:in `top_level'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/application.rb:62:in `run'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
      C:/Ruby192/jruby-1.7.1/lib/ruby/gems/shared/gems/rake-0.9.2/bin/rake:32:in `(root)'
      org/jruby/RubyKernel.java:1046:in `load'
      C:/Ruby192/jruby-1.7.1/bin/rake:23:in `(root)'
      Tasks: TOP => test:functionals
Environment: Jruby 1.7.1, Windows 7 x64, rails 3.0.9, rake 0.9.2
Project: JRuby
Priority: Major Major
Reporter: Justin Hart
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to