Compiler blows up with "NoVarsDynamicScope cannot be grown; use ManyVarsDynamicScope" -------------------------------------------------------------------------------------
Key: JRUBY-1708 URL: http://jira.codehaus.org/browse/JRUBY-1708 Project: JRuby Issue Type: Bug Environment: JRuby rev 5230 Reporter: Alexey Verkhovsky Assignee: Thomas E Enebo 1. create a skeleton Rails app 2. try to run it with +C option. Enjoy the fireworks. [EMAIL PROTECTED]:~/src$ rails foo ... [EMAIL PROTECTED]:~/src$ cd foo [EMAIL PROTECTED]:~/src/foo$ jruby +C script/server java.lang.RuntimeException: NoVarsDynamicScope cannot be grown; use ManyVarsDynamicScope at org.jruby.runtime.scope.NoVarsDynamicScope.growIfNeeded(NoVarsDynamicScope.java:40) at org.jruby.parser.Parser.parse(Parser.java:192) at org.jruby.Ruby.parseFile(Ruby.java:1583) at org.jruby.Ruby.compileAndLoadFile(Ruby.java:1819) at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:50) at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:320) at org.jruby.runtime.load.LoadService.require(LoadService.java:346) at org.jruby.RubyKernel.require(RubyKernel.java:670) at org.jruby.RubyKernelInvoker$require_method_1_0.call(Unknown Source) at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:158) at org.jruby.runtime.CallSite$ArgumentBoxingCallSite.call(CallSite.java:103) at script.server.__file__(script/server:2) at script.server.load(script/server) at org.jruby.Ruby.runScript(Ruby.java:575) at org.jruby.Ruby.runNormally(Ruby.java:504) at org.jruby.Ruby.runFromMain(Ruby.java:427) at org.jruby.Main.runInterpreter(Main.java:214) at org.jruby.Main.runInterpreter(Main.java:170) at org.jruby.Main.run(Main.java:119) 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