tags:

views:

10

answers:

1

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-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

A: 

If anybody runs into this situation, please try restarting Tomcat. That resolved the problem for me.

Baq Haidri