On Fri, May 27, 2011 at 2:13 AM, Bryan Crossland <[email protected]>wrote:
> Sent from my iPhone > > On May 27, 2011, at 12:56 AM, John <[email protected]> wrote: > > When i start the server "rails s",following error message appears: > > > => Booting WEBrick > => Rails 3.0.7 application starting in development on > <http://0.0.0.0:3000>http://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > Exiting > /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:167:in > `default_controller_and_action': missing :controller (ArgumentError) > from > > > You're missing your default controller. Have you deleted controllers from > this app? > No > > amrit@ubuntu:~/check$ cd > amrit@ubuntu:~$ cd demo > amrit@ubuntu:~/demo$ rails s > => Booting WEBrick > => Rails 3.0.7 application starting in development on > <http://0.0.0.0:3000>http://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > [2011-05-27 01:43:28] INFO WEBrick 1.3.1 > [2011-05-27 01:43:28] INFO ruby 1.8.7 (2010-01-10) [i486-linux] > [2011-05-27 01:43:33] INFO WEBrick::HTTPServer#start: pid=2101 port=3000 > > > > Your check folder does not have a complete rails app in it where as your > demo folder does. > But i didn't delete anything from check folder.Still how to resolve it? John -- 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.

