Missing default helper path

Here’s one of these things that can have you go huh?

So, here’s what happened. I created new rails app from scratch

rails ajax-test
script/generate ajax_scaffold Widget Widget
script/server

=> no page worked, only error was:

Controllers::RailsInfoController: missing default helper path
rails_info_helper when trying to access environment link

Thanks to John Martin in this post for the solution.

The solution indeed was to remove all /tmp/ruby_sess* files and restart WEBrick

Tags: ,

2 Responses to “Missing default helper path”

  1. syedarifbadsha80@yahoo.com March 4, 2006 at 11:15 pm #

    I got the same problem with other generator.
    Clear the session variables with the rake cmd- rake tmp:clear .
    This might solve your problem

  2. Pascal March 4, 2006 at 11:15 pm #

    Thanks for the tip. This can be especially helpful if you don’t have shell access and can only do things via capistrano.