Your site needs a root of some sort. If some index file does not exist in public/ (index.html|htm, default.html|htm, etc) then you need to tell your rails app where to go.
You can do this by editing your routes.rb (found in your config/ folder) and adding the line
root :to => 'somecontroller#index"somecontroller represents the controller to use, and index represents the method that it should handle. typically index is preferred, which will render index.html.erb
You can find out more about routes by typing
rake routesin your console.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/86a78719cd5f46d01ae13e9499cda2ed%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.