I recently encountered the error above when I was running selenium tests.
Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.
Thanks to a post on stackoverflow Show archive.org snapshot I found out that clearing all files in tmp/cache in my project folder made the issue go away.