I started a thread over on rails-talk (http://groups.google.com/group/
rubyonrails-talk/browse_thread/thread/e799165794ea0052) but got no
responses, and am a little concerned this might be an issue with Ruby
1.8.7 and Rails 2.2.2, if only because I can't eliminate any other
possibilities yet.

Here's the story: shortly after upgrading my Slice server from Ubuntu
8.04 to 8.10 - which upgraded Ruby to 1.8.7 along the way - I found
that I couldn't start up my app anymore.  The app was frozen to 2.1,
and after realizing the Ruby upgrade, I re-froze to 2.2.  Still
wouldn't work; doing a script/about yields this error message:

/home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/action_view/
template_handler.rb:11:in `initialize':ArgumentError: wrong number of
arguments (0 for 1)

After much trial and error, I came to notice that the $LOAD_PATH is a
bit messed up; the server app does not have the following in the
$LOAD_PATH like my local app does:

../vendor/rails/railties/builtin/rails_info/

Not sure why this would explain the error, but I'm trying to figure
out why I'd get that strange error when the only difference I can see
is a change from 1.8.6 to 1.8.7.  I've tried switching from frozen
Rails to 2.2.2 gems but it made no difference.

Any ideas/insights/suggestions would be very welcome, this is driving
me nuts; if this is surely not a Rails bug, then I'll continue on the
rails-talk list instead.

Thanks
Jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to