Standalone War

I’m trying to deploy a standalone WAR into a server without JRUBY.
But when try to access to the app I get this error.

no such file to load – CGI

In fact I require CGI in the app but it seems that the lib has not been
packaged within the war (I used Warbler).
Do you know I could package everything even the libs? So I could deploy
the war all achievements.