I'm having exactly the same problem as Justin on Windows.  If I freeze
rails to the edge (rake rails:freeze:edge) then try to access any page,
I get the same error.  Like Justin, I see a reference to the rails gem
v1.0, even though I clearly see version 4333 in the rails plugin
directory.  Simply unfreezing rails (rake rails:unfreeze) solves the
problem.

------- Potentially related question ------------

I am unclear on the difference between

 1. rake rails:freeze:edge

and

 2. svn ps svn:externals "rails http://...rails/trunk/"; vendor
    svn update

I have usually used the first, but the second looks to be the better way
(as I am already using subversion and externals).  But the second way
does not seem to do the same thing -rails still seems to run v1.0 from
the gem.

Regards,
Chris

James Adam wrote:
> If you look at the paths of the files in the error you're getting, it
> looks like Rails 1.0 is still being loaded. Did you freeze the gems
> from your own machine? It might be worth double-checking which version
> of Rails you have frozen into your /vendor/rails directory...
> 
> - james
> 
> On 4/21/06, Justin Chen <[EMAIL PROTECTED]> wrote:
>> #<NoMethodError: undefined method `clear!' for Controllers:Module>
>> "/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in
>> "/usr/local/lib/ruby/gems/1.8/gems/rails-
>> If i remove the "engines" plugin, the server seems to work fine again so I'm
>> [email protected]
>> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
>>
>>
>>
> 
> 
> --
> * J *
>   ~

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to