On 23.2.2005, at 23:29, Sean Leach wrote:
> Ok - figured it out. Had to uninstall all previous rails,activerecord
> etc. and then re-install via gems. So it was picking up old code
You need to say ''gem update -s http://gems.rubyonrails.com'' .
That
updates all gems that are available from that source. Just saying
install rails didn''t work for me either. However, there was no need to
uninstall anything.
Your problem was probably that your actionpack wasn''t a beta gem. You
can check that all your gems are beta by typing ''gem list'' and
making
sure that the end of the latest versions is same (.716 for me at the
moment). This should apply to all actionmailer, actionpack,
actionwebservice, activerecord, activesupport and rails.
//jarkko
>
> Sean Leach wrote:
>> Ok - I asked for it :) I upgraded to beta gems rails to try out
>> routes, and now I can''t get my app started. Here is what I am
>> seeing.
>>
>> I did the usual ''gem install rails -s
http://gems.rubyonrails.com''
>> and everything worked fine. I then followed the steps from
David''s
>> post
>>
>> http://weblog.rubyonrails.com/archives/2005/02/15/routing-now-
>> available-in-beta-gems/
>>
>>
>> But I get this error when running:
>>
>> ./script/server
>>
>> ./script/../config/environment.rb:49: uninitialized constant
>> ActionController::Routing (NameError) from ./script/server:45:in
>> `require'' from ./script/server:45
>>
>> This line is the one from the weblog post:
>> ActionController::Routing::Routes.reload
>>
>> So it''s possible I am finding an old version of
actioncontroller or
>> something. What is the best way to troubleshoot/fix this?
>>
>> Thanks all.
>>
>> Sean _______________________________________________ Rails mailing
>> list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>> http://lists.rubyonrails.org/mailman/listinfo/rails
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Jarkko Laine
http://jlaine.net
http://odesign.fi
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails