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 => 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 /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:72:in `normalize_options!'' from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:55:in `initialize'' from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:272:in `new'' from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:272:in `match'' from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:1173:in `match'' from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:1360:in `match'' from /home/amrit/check/config/routes.rb:8 from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:233:in `instance_exec'' from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:233:in `draw'' from /home/amrit/check/config/routes.rb:1 from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in `new_constants_in'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:127:in `reload_routes!'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:127:in `each'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:127:in `reload_routes!'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:120 from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/file_update_checker.rb:32:in `call'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/file_update_checker.rb:32:in `execute_if_updated'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application/finisher.rb:51 from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application/finisher.rb:52:in `call'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application/finisher.rb:52 from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `instance_exec'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `run'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:50:in `run_initializers'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:49:in `each'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:49:in `run_initializers'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:134:in `initialize!'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:77:in `send'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:77:in `method_missing'' from /home/amrit/check/config/environment.rb:5 from /home/amrit/check/config.ru:3:in `require'' from /home/amrit/check/config.ru:3 from /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'' from /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'' from /home/amrit/check/config.ru:1:in `new'' from /home/amrit/check/config.ru:1 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 => 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 Started GET "/posts" for 127.0.0.1 at Fri May 27 01:43:39 -0400 2011 Processing by PostsController#index as HTML Post Load (74.2ms) SELECT `posts`.* FROM `posts` Rendered posts/index.html.erb within layouts/application (25.9ms) Completed 200 OK in 177ms (Views: 52.6ms | ActiveRecord: 74.2ms) ^Z [1]+ Stopped rails s amrit@ubuntu:~/demo$ clear amrit@ubuntu:~/demo$ cd amrit@ubuntu:~$ cd checkk bash: cd: checkk: No such file or directory amrit@ubuntu:~$ cd check amrit@ubuntu:~/check$ rails s => Booting WEBrick => Rails 3.0.7 application starting in development on 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 /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:72:in `normalize_options!'' from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:55:in `initialize'' from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:272:in `new'' from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:272:in `match'' from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:1173:in `match'' from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:1360:in `match'' from /home/amrit/check/config/routes.rb:8 from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:233:in `instance_exec'' from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:233:in `draw'' from /home/amrit/check/config/routes.rb:1 from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in `new_constants_in'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:127:in `reload_routes!'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:127:in `each'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:127:in `reload_routes!'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:120 from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/file_update_checker.rb:32:in `call'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/file_update_checker.rb:32:in `execute_if_updated'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application/finisher.rb:51 from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application/finisher.rb:52:in `call'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application/finisher.rb:52 from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `instance_exec'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `run'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:50:in `run_initializers'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:49:in `each'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:49:in `run_initializers'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:134:in `initialize!'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:77:in `send'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:77:in `method_missing'' from /home/amrit/check/config/environment.rb:5 from /home/amrit/check/config.ru:3:in `require'' from /home/amrit/check/config.ru:3 from /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'' from /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'' from /home/amrit/check/config.ru:1:in `new'' from /home/amrit/check/config.ru:1 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Sent from my iPhone On May 27, 2011, at 12:56 AM, John <johnsshelfer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 > => 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) > fromYou''re missing your default controller. Have you deleted controllers from this app?> 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 > => 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. B.> Started GET "/posts" for 127.0.0.1 at Fri May 27 01:43:39 -0400 2011 > Processing by PostsController#index as HTML > Post Load (74.2ms) SELECT `posts`.* FROM `posts` > Rendered posts/index.html.erb within layouts/application (25.9ms) > Completed 200 OK in 177ms (Views: 52.6ms | ActiveRecord: 74.2ms) > ^Z > [1]+ Stopped rails s > amrit@ubuntu:~/demo$ clear > > amrit@ubuntu:~/demo$ cd > amrit@ubuntu:~$ cd checkk > bash: cd: checkk: No such file or directory > amrit@ubuntu:~$ cd check > amrit@ubuntu:~/check$ rails s > => Booting WEBrick > => Rails 3.0.7 application starting in development on 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 /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:72:in `normalize_options!'' > from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:55:in `initialize'' > from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:272:in `new'' > from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:272:in `match'' > from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:1173:in `match'' > from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:1360:in `match'' > from /home/amrit/check/config/routes.rb:8 > from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:233:in `instance_exec'' > from /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:233:in `draw'' > from /home/amrit/check/config/routes.rb:1 > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'' > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'' > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'' > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in `new_constants_in'' > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'' > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:127:in `reload_routes!'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:127:in `each'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:127:in `reload_routes!'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:120 > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/file_update_checker.rb:32:in `call'' > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/file_update_checker.rb:32:in `execute_if_updated'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application/finisher.rb:51 > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application/finisher.rb:52:in `call'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application/finisher.rb:52 > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `instance_exec'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `run'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:50:in `run_initializers'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:49:in `each'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:49:in `run_initializers'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:134:in `initialize!'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:77:in `send'' > from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:77:in `method_missing'' > from /home/amrit/check/config/environment.rb:5 > from /home/amrit/check/config.ru:3:in `require'' > from /home/amrit/check/config.ru:3 > from /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'' > from /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'' > from /home/amrit/check/config.ru:1:in `new'' > from /home/amrit/check/config.ru:1 > > > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, May 27, 2011 at 2:13 AM, Bryan Crossland <bacrossland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Sent from my iPhone > > On May 27, 2011, at 12:56 AM, John <johnsshelfer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, May 27, 2011 at 4:03 AM, John <johnsshelfer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On Fri, May 27, 2011 at 2:13 AM, Bryan Crossland <bacrossland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: > >> Sent from my iPhone >> >> On May 27, 2011, at 12:56 AM, John <johnsshelfer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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? >> > Solved.Problem was in controller'' coding > Thanks for support! > > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.