I upgraded to Rails 1.2.1 and deployed to my ISP, who has 1.2.1 ready
The site disappeared into an HTTP 500 error.
So I get into the site, run public/dispatch.cgi or dispatch.rb, and get
Status: 400 Bad Request
to_constant_name': Anonymous modules have no name to be referenced by (ArgumentError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:215:inqualified_name_for’
const_missing' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/dispatcher.rb:117:inreset_after_dispatch’
Google has a few hits for that, and one of them tells me to do this:
Well, that crunched a whole lot of my code (I had been wondering how
to upgrade the site-side code to a new Rails…). But it didn’t fix
the problem. I can also reproduce the same problem on my development
One big irritation is dispatch.rb:10 doesn’t have an anonymous module,
it has Dispatcher, which is imported just a few lines above.
What’s going on??
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!