Compiled rails war gives 404 errors, uncompiled works #135

Open
joonty opened this Issue Jan 31, 2013 · 2 comments

3 participants

@joonty

Hi,

First, I just want to say that warbler is fantastic - thanks for all your work.

Unfortunately, I've been having a problem with running a compiled rails war on both Tomcat and Jetty. It's a Rails 3.2.11 app, and I've precompiled all assets and packed all gems into vendors.

Running bundle exec warble war produces a working war file, and it runs well on both Tomcat and Jetty.

Running bundle exec warble compiled war produces a war file, but the 404 page is delivered for everything except for assets.

I am using warbler 1.3.6.

If you need any more information I'm happy to supply it.

Thanks

@joonty

I can confirm that this also happens when creating an executable war file, with bundle exec warble compiled executable war. A standard executable war works without a problem.

@ccouzens

Are you using devise?

If so, I expect that you are getting this issue plataformatec/devise#2208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment