@Daniel, That was it! I had changed the file name to application_controller.rb because some helper methods were not available for the views and i thought the name might've been the problem. And then i had fixed it by using helper_method. Forgot to change the file name back to application.rb! thanks Daniel :).
On Oct 25, 12:39 pm, Daniel <[EMAIL PROTECTED]> wrote: > On Oct 25, 3:31 pm, Vinay <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I have been having a very weird problem for a few weeks. I am able to > > start up the server using "script/server" for my application and run > > it successfully but "script/console" is not working. I have been > > managing without it but somethings not right and i need to fix it. > > This is the error that it throws and the trace. > > Loading development environment (Rails 2.1.0) > > /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in > > `gem_original_require': no such file to load -- application > > (MissingSourceFile) > > Might be something to do with app/controllers/application.rb. > Do you have it? > It will contain: class ApplicationController < ActionController::Base > > -- > Daniel Bush --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

