Note: App is using Rails 3.2.1 and Ruby 1.9.3.
I'm attempting to set up a rails app using Passenger and Apache 2. When the applications is initially created it loads the default rails page fine using the default index.html file in /public.
The problem arises when I run rails generate controller home index
and delete the index.html file. Then, in my routes.rb file I added root :to => "home#index"
. I then get an error saying 'We're sorry, but something went wrong.'
My error log says File does not exist
and when I add back in the index.html it loads fine again.
So, it seems it is still looking for the index.html file even after I delete it.
I'm probably missing something very obvious, so any help is greatly appreciated