JRubyアプリケーションをwarblerでパックして実行するのに問題があります。
を介して実行すると正常に動作する1つのモデルを使用して単純なsqlite3-appを作成しましたjruby -S rails s
。
ただし、jruby -S warble executable war
パックされたWinstoneでパックしようとすると、サーバーが次のようにクラッシュします。
[Winstone 2010/12/20 10:33:48] - Beginning extraction from war file
[Winstone 2010/12/20 10:33:50] - WARNING: The Servlet 2.4/2.5 spec XSD was unavailable inside the winstone classpath. Will be retrieved from the web if required (slow)
[Winstone 2010/12/20 10:33:50] - No webapp classes folder found - C:\Temp\winstone908137348044208817webroot\sqlite-test.war\WEB-INF\classes
[webapp 2010/12/20 10:33:51] - Warning: error application could not be initialized org.jruby.rack.RackInitializationException: no such file to load -- builtin/core_ext/symbol
at org.jruby.rack.DefaultRackApplicationFactory.newRuntime(DefaultRackApplicationFactory.java:85)
at org.jruby.rack.DefaultRackApplicationFactory.createApplication(DefaultRackApplicationFactory.java:177)
at org.jruby.rack.DefaultRackApplicationFactory.newErrorApplication(DefaultRackApplicationFactory.java:127)
at org.jruby.rack.DefaultRackApplicationFactory.init(DefaultRackApplicationFactory.java:45)
at org.jruby.rack.PoolingRackApplicationFactory.init(PoolingRackApplicationFactory.java:50)
at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:40)
at winstone.WebAppConfiguration.<init>(WebAppConfiguration.java:889)
at winstone.HostConfiguration.initWebApp(HostConfiguration.java:131)
at winstone.HostConfiguration.<init>(HostConfiguration.java:73)
at winstone.HostGroup.initHost(HostGroup.java:85)
at winstone.HostGroup.<init>(HostGroup.java:45)
at winstone.Launcher.<init>(Launcher.java:196)
at winstone.Launcher.main(Launcher.java:391)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at Main.launchWinstone(Main.java:67)
at Main.start(Main.java:72)
at Main.main(Main.java:97)
Caused by: org.jruby.exceptions.RaiseException: no such file to load -- builtin/core_ext/symbol
at (unknown).new(:1)
at (unknown).(unknown)(:1)
これはどこから来たのですか、どうすればこれを実行できますか?