Rails fails to run when using +C. jruby.jit.threshold=0 works fine.
--------------------------------------------------------------------
Key: JRUBY-1546
URL: http://jira.codehaus.org/browse/JRUBY-1546
Project: JRuby
Issue Type: Bug
Components: Compiler
Environment: Windows XP, Java 1.6.0_02, JRuby Rev. 4889
Reporter: Alex Durgin
>jruby -J-server -J-Djruby.jit.logging.verbose=true +C script\server -e
>production
coult not compile: script/../config/boot.rb because of: "script////config/boot
(wrong name: script/../config/boot)"
Error, could not compile; pass -J-Djruby.jit.logging.verbose=true for more
details
java.lang.NullPointerException
at org.jruby.Ruby.runScript(Ruby.java:572)
at org.jruby.Ruby.compileAndLoadFile(Ruby.java:1830)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:50)
at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:318)
at org.jruby.runtime.load.LoadService.require(LoadService.java:344)
at org.jruby.RubyKernel.require(RubyKernel.java:671)
at org.jruby.RubyKernelInvoker$require_method_1_0.call(Unknown Source)
at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.jav
a:154)
at org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.jav
a:107)
at script.server.__file__(script\server:2)
at script.server.load(script\server)
at org.jruby.Ruby.runScript(Ruby.java:572)
at org.jruby.Ruby.runNormally(Ruby.java:494)
at org.jruby.Ruby.runFromMain(Ruby.java:417)
at org.jruby.Main.runInterpreter(Main.java:227)
at org.jruby.Main.runInterpreter(Main.java:183)
at org.jruby.Main.run(Main.java:116)
at org.jruby.Main.run(Main.java:93)
at org.jruby.Main.main(Main.java:84)
script\server:2:in `require': IO error -- script/../config/boot (LoadError)
--
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