warbler icon indicating copy to clipboard operation
warbler copied to clipboard

Compiled rails war gives 404 errors, uncompiled works

Open joonty opened this issue 12 years ago • 2 comments

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

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1446631-compiled-rails-war-gives-404-errors-uncompiled-works?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github).

joonty avatar Jan 31 '13 12:01 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.

joonty avatar Jan 31 '13 15:01 joonty

Are you using devise?

If so, I expect that you are getting this issue https://github.com/plataformatec/devise/issues/2208

ccouzens avatar Feb 17 '13 12:02 ccouzens