Skip to content

Instantly share code, notes, and snippets.

@gregelin
Created July 19, 2009 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gregelin/149963 to your computer and use it in GitHub Desktop.
Save gregelin/149963 to your computer and use it in GitHub Desktop.
PROBLEM>
getting this error when I try to run dispatch.fcgi:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- application (MissingSourceFile)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
I am using rails 2.1.0 and went through freezing rails http://www.hostingrails.com/wiki/2/Install-and-freeze-your-own-RubyGems to use it. My environment.rb matches this.
ANSWER:
Please try renaming app/controllers/application_controller.rb file to app/controllers/application.rb .
EXPLANATION:
Rails 2.1.0 uses file app/controllers/application.rb
Rails 2.3.2 uses file app/controllers/application_controller.rb
SOURCE:
http://www.hostingrails.com/4631/gem_original_require-no-such-file-to-load----application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment