# Building a War File with Warbler using nokogiri results in GemNotFound exception

**URL:** <https://www.ruby-forum.com/t/building-a-war-file-with-warbler-using-nokogiri-results-in-gemnotfound-exception/224634>\
**Category:** Deployment\
**Created:** [November 20, 2012, 12:27am UTC](https://www.ruby-forum.com/t/building-a-war-file-with-warbler-using-nokogiri-results-in-gemnotfound-exception/224634 "2012-11-20T00:27:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [November 20, 2012, 12:27am UTC](https://www.ruby-forum.com/t/building-a-war-file-with-warbler-using-nokogiri-results-in-gemnotfound-exception/224634/1 "2012-11-20T00:27:22Z")

</div>

I use savon and therefore need nokogiri in my rails project.

The project must be built to a war file.  
So if I create the war file with warbler and then deploy it to my apache  
tomcat test Server I find this Error in my Logfile:

SEVERE: ERROR: application error  
org.jruby.rack.RackInitializationException: Could not find  
nokogiri-1.5.5-java in any of the sources

I found this related issue:

> <https://github.com/sparklemotion/nokogiri/issues/403>
>
> When trying to warble a rails 3 app with nokogiri master and nokogiri a7da3bb in…stalled this happens on both ubuntu and windows:
> 
> https://gist.github.com/797663

but I still have no Idea how to get my war file runing.

Any Ideas?

Best Regards,  
Michael
