I’m trying to go through this tutorial using jruby:
Things seem to be working fine using script/server, but building a
.war using warbler doesn’t seem to work:
ActionView::TemplateError (undefined local variable or method
`new_post_path’ for #ActionView::Base:0x121671e) in
posts/index.html.erb:
app/views/posts/index.html.erb:26:in
_run_erb_47app47views47posts47index46html46erb' gems/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in
compile_and_render_template’
gems/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in
render_template' gems/gems/actionpack-2.0.2/lib/action_view/base.rb:316:in
render_file’
gems/gems/actionpack-2.0.2/lib/action_controller/base.rb:1100:in
render_for_file' gems/gems/actionpack-2.0.2/lib/action_controller/base.rb:858:in
render’
…
I tried building a war with goldspike instead, and the named routes
worked, but then I get session errors because the servlet session
store doesn’t support generate_digest, and I couldn’t get it to just
use cookie_store. Any ideas how I can get this to work?
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email