I've packaged a custom gem into a jar file which is being referenced by a JRuby script.
I'm getting the following error:
org.jruby.rack.RackInitializationException: JAR entry gems/sinatra-linkedin-auth-0.0.1开发者_Go百科-java/lib/sinatra/linkedin-auth.rb not found in /Users/bhaidri/code/nextgen-ui/dist/darwin-war/exploded-war/WEB-INF/lib/linkedin-gems-0.0.1.jar
When I inspect my jar file, the linkedin-auth.rb script is indeed there in the correct location. Why is it not being correctly loaded?
Thanks, Baq
If anybody runs into this situation, please try restarting Tomcat. That resolved the problem for me.
精彩评论