Rails 3 fails to start in 1.9 mode
----------------------------------

                 Key: JRUBY-5163
                 URL: http://jira.codehaus.org/browse/JRUBY-5163
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.9
    Affects Versions: JRuby 1.6
            Reporter: Kevin Menard
            Assignee: Thomas E Enebo


Now that I'm able to install my gems via bundler, I'm running into another 
issue with JRuby in 1.9 mode.  I've been unable to really dig in because the 
"--trace" option doesn't add a whole lot.  I should note that in 1.8 mode, the 
rake task starts up fine, so it seems to be something related to the 1.9 
interface.

I'll try to dig in more, but here are a couple sample console sessions:


nirvd...@ubuntu:~/dev/workspaces/backupify$ rake --trace
(in /home/nirvdrum/dev/workspaces/backupify)
DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. 
(called from initialize at (eval):1)
rake aborted!
undefined method `call' for nil:NilClass
/home/nirvdrum/.rvm/gems/jruby-head/gems/railties-3.0.0/lib/rails/deprecation.rb:29:in
 `method_missing'
(eval):1:in `initialize'


nirvd...@ubuntu:~/dev/workspaces/backupify$ rails c
DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. 
(called from initialize at (eval):1)
/home/nirvdrum/.rvm/gems/jruby-head/gems/railties-3.0.0/lib/rails/deprecation.rb:29:in
 `method_missing': undefined method `call' for nil:NilClass (NoMethodError)
        from (eval):1:in `initialize'
nirvd...@ubuntu:~/dev/workspaces/backupify$ 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
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