I\'m a Ruby nuby (and new to Stack Overflow) working on the Rails Tutorial by Michael Hartl and all of a sudden my development server won\'t load and keeps exiting. Console
When I ran into this problem, it was because one of the routes in routes.rb
had a slash (/
) instead of the hash (#
) when using the controller#action
syntax (I used "controller/action", which was incorrect).
For example, I accidentally had root :to => 'home/index'
. It was supposed to be root :to => 'home#index'
.
I found this solution in here.