[typo] NameError installing from SVN trunk?

Scott Laird scott at sigkill.org
Sun Sep 4 20:55:11 EDT 2005


Is there any chance that app/controllers/articles_controller.rb is  
missing?


Scott

On Sep 4, 2005, at 9:21 AM, Joe Humanist wrote:

> Hi,
>
> I'm brand new to ruby & typo, so I could be missing something very
> simple.
>
> I'm doing a clean install, and after checking out from svn, I'm  
> getting
> a NameError under both lighttpd and WebBrick.  (This is on  
> TextDrive, in
> case that makes a difference.)
>
> Here's the stacktrace from my production.log under lighttpd:
>
> Processing Base#index (for 208.58.3.212 at Sun Sep 04 13:48:24 GMT  
> 2005)
>   Parameters: {}
>
> NameError (uninitialized constant ArticlesController):
>
>
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ 
> active_support
> /dependencies.rb:186:in `const_missing'
>
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ 
> active_support
> /dependencies.rb:71:in `const_missing'
>     generated/routing/recognition.rb:4:in `recognize_path'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/ 
> action_controller
> /routing.rb:433:in `recognize!'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in
> `dispatch'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb: 
> 144:i
> n `process_request'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb: 
> 64:in
> `process!'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb: 
> 55:in
> `each_cgi'
>     /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in
> `each'
>     /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in
> `each_cgi'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb: 
> 55:in
> `process!'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb: 
> 21:in
> `process!'
>     /home/joehumanist/sites/typo/public/dispatch.fcgi:24
>
> And here it is under WebBrick:
>
> Processing Base#index (for 208.58.3.212 at Sun Sep 04 13:55:28 GMT  
> 2005)
>   Parameters: {}
>
> NameError (uninitialized constant ArticlesController):
>
>
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ 
> active_support
> /dependencies.rb:186:in `const_missing'
>
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ 
> active_support
> /dependencies.rb:71:in `const_missing'
>     generated/routing/recognition.rb:4:in `recognize_path'
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/ 
> action_controller
> /routing.rb:433:in `recognize!'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in
> `dispatch'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/ 
> webrick_server.rb:105
> :in `handle_dispatch'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/ 
> webrick_server.rb:71:
> in `service'
>     /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
>     /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
>     /usr/local/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
>     /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start'
>     /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
>     /usr/local/lib/ruby/1.8/webrick/server.rb:94:in `start'
>     /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `each'
>     /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `start'
>     /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'
>     /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/ 
> webrick_server.rb:57:
> in `dispatch'
>     ./server:49
>
> I've looked at all the obvious things (my database exists, the
> database.yml file is correct, I've run db/schema.mysql.sql, and I've
> changed the path to /usr/local/bin/ruby in public/dispatch.rb and in
> public/dispatch.fcgi)
>
> Any ideas?
>
> thanks!
> Patrick
>
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>



More information about the Typo-list mailing list