[Rails] Re: Rails 0.8.5: Better fixtures, shared generators, sendmail for AM, lots of fixes!

James Britt jamesUNDERBARb at neurogami.com
Thu Nov 18 00:39:29 GMT 2004


David Heinemeier Hansson wrote:
>  ...
> Or even easier, just do "gem install rails" (or "gem update" if you're  
> already running on Gem Rails) -- you'll automatically install all the  
> newest versions of the required dependencies.

I just gave that a whirl, using gems to update my current rails 
installation, and got this:

 > gem update
Upgrading installed gems...
Attempting remote upgrade of actionmailer
Attempting remote installation of 'actionmailer'
ERROR:  While executing gem ... (NoMethodError)
     undefined method `serialize' for 
CGI::Session::ActiveRecordStore::Session:Class


gem -v => 0.8.1

ruby -v => ruby 1.8.2 (2004-07-29) [i386-mswin32]


Thanks,


James

PS

Running 'gem update' will update *all* installed gems.  If any gem has a 
an update that breaks compatibility, then people may end up with 
unexpected/unwanted code changes.

I *believe* that just running
  gem install rails
will update just rails, or install it if there is no existing 
installation, so it may be a safer way to get the gem set up.




More information about the Rails mailing list