# Activerecord 2.0.1 gem

**URL:** <https://www.ruby-forum.com/t/activerecord-2-0-1-gem/122460>\
**Category:** Rails\
**Created:** [December 7, 2007, 7:46pm UTC](https://www.ruby-forum.com/t/activerecord-2-0-1-gem/122460 "2007-12-07T19:46:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![varac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c2a13f/32.png) [@varac](https://www.ruby-forum.com/u/varac)\
**Post date:** [December 7, 2007, 7:46pm UTC](https://www.ruby-forum.com/t/activerecord-2-0-1-gem/122460/1 "2007-12-07T19:46:53Z")

</div>

I have tried to install activerecord 2.0.1 both through gem update and  
by manually downloading it and doing gem install. They both fail with

MANUAL:

C:\DRC\ruby\>gem install activerecord-2.0.1  
ERROR: Error installing gem activerecord-2.0.1[.gem]: buffer error

REMOTE:  
R:\workzone\dwell-aware\trunk\>gem update --source  
[http://gems.rubyonrails.com](http://gems.rubyonrails.com)  
Updating installed gems…  
Attempting remote update of activerecord  
ERROR: While executing gem … (Zlib::BufError)  
buffer error

I believe the .gem file to be corrupt!

Thanks,  
Rags

---

<div class="post-metadata">

**Author:** ![varac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c2a13f/32.png) [@varac](https://www.ruby-forum.com/u/varac)\
**Post date:** [December 7, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/activerecord-2-0-1-gem/122460/2 "2007-12-07T19:53:55Z")

</div>

I’m getting the same result here.

---

<div class="post-metadata">

**Author:** ![varac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c2a13f/32.png) [@varac](https://www.ruby-forum.com/u/varac)\
**Post date:** [December 9, 2007, 3:05am UTC](https://www.ruby-forum.com/t/activerecord-2-0-1-gem/122460/3 "2007-12-09T03:05:47Z")

</div>

Try this command:

gem update --system

It will update your RubyGems to 0.9.5, and you will be able to install  
Rails 2.0 without problem.

On Dec 7, 7:53 pm, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![varac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c2a13f/32.png) [@varac](https://www.ruby-forum.com/u/varac)\
**Post date:** [December 10, 2007, 7:17pm UTC](https://www.ruby-forum.com/t/activerecord-2-0-1-gem/122460/4 "2007-12-10T19:17:06Z")

</div>

Actually, I will change that to a conditional fix.

gem update rails ‘worked’, but did not update activerecord,  
activesource, rake or rails.

I actually had to do gem install rails to get to a working version of  
2.0.1

Ray

Ray C. wrote:

> removed\_email\_address@domain.invalid wrote:
> 
> > Try this command:
> > 
> > gem update --system
> > 
> > It will update your RubyGems to 0.9.5, and you will be able to install  
> > Rails 2.0 without problem.
> > 
> > On Dec 7, 7:53 pm, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
> 
> Yes, that fixed it - it updates cleanly!  
> Thanks for the help!!
> 
> Ray

---

<div class="post-metadata">

**Author:** ![varac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c2a13f/32.png) [@varac](https://www.ruby-forum.com/u/varac)\
**Post date:** [December 10, 2007, 6:28pm UTC](https://www.ruby-forum.com/t/activerecord-2-0-1-gem/122460/5 "2007-12-10T18:28:19Z")

</div>

removed\_email\_address@domain.invalid wrote:

> Try this command:
> 
> gem update --system
> 
> It will update your RubyGems to 0.9.5, and you will be able to install  
> Rails 2.0 without problem.
> 
> On Dec 7, 7:53 pm, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

Yes, that fixed it - it updates cleanly!  
Thanks for the help!!

Ray

---

<div class="post-metadata">

**Author:** ![varac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c2a13f/32.png) [@varac](https://www.ruby-forum.com/u/varac)\
**Post date:** [December 10, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/activerecord-2-0-1-gem/122460/6 "2007-12-10T19:53:09Z")

</div>

Thanks to Jesper RÃ¸nn-jensen for a very clear explanation of all the  
things that can and will go wrong if you try to get on the bleeding edge  
of rails development. (Including breaking your mongrel server!)

Please see his blog entry:  
[http://justaddwater.dk/2007/12/09/rails-20-gem-install-windows-mongrel-trouble/](http://justaddwater.dk/2007/12/09/rails-20-gem-install-windows-mongrel-trouble/)

Ray C. wrote:

> Actually, I will change that to a conditional fix.
> 
> gem update rails ‘worked’, but did not update activerecord,  
> activesource, rake or rails.
> 
> I actually had to do gem install rails to get to a working version of  
> 2.0.1
> 
> Ray
> 
> Ray C. wrote:
> 
> > removed\_email\_address@domain.invalid wrote:
> > 
> > > Try this command:
> > > 
> > > gem update --system
> > > 
> > > It will update your RubyGems to 0.9.5, and you will be able to install  
> > > Rails 2.0 without problem.
> > > 
> > > On Dec 7, 7:53 pm, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
> > 
> > Yes, that fixed it - it updates cleanly!  
> > Thanks for the help!!
> > 
> > Ray

---

<div class="post-metadata">

**Author:** ![varac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c2a13f/32.png) [@varac](https://www.ruby-forum.com/u/varac)\
**Post date:** [December 12, 2007, 10:11am UTC](https://www.ruby-forum.com/t/activerecord-2-0-1-gem/122460/7 "2007-12-12T10:11:27Z")

</div>

wow, gem update system causes a lot of vague (error) messages and then  
ends with:

lib/rubygems/local\_remote\_options.rb:89:30: ‘:’ not followed by  
identified or op  
erator  
As of RubyGems 0.8.0, library stubs are no longer needed.  
Searching $LOAD\_PATH for stubs to optionally delete (may take a  
while)…  
…done.  
No library stubs found.  
RubyGems system software updated  
The filename, directory name, or volume label syntax is incorrect.

I’m not confident that I’m fixing a problem now…

---

<div class="post-metadata">

**Author:** ![varac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c2a13f/32.png) [@varac](https://www.ruby-forum.com/u/varac)\
**Post date:** [December 12, 2007, 11:05am UTC](https://www.ruby-forum.com/t/activerecord-2-0-1-gem/122460/8 "2007-12-12T11:05:57Z")

</div>

gem update rails didn’t work for me…

gem list shows the following:  
action\_profiler (1.0.0)  
actionmailer (1.3.4, 1.3.2, 1.2.5)  
actionpack (1.13.4, 1.13.2, 1.12.5)  
actionwebservice (1.2.4, 1.2.2, 1.1.6)  
activerecord (1.15.4, 1.15.2, 1.14.4)  
activesupport (2.0.1, 1.4.3, 1.4.1, 1.3.1)

so only activesupport was updated?

Trying gem install rails again gives me another error message

gem install rails  
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)  
OpenURI::HTTPError: 404 Not Found reading  
[http://gems.rubyforge.org/gems/act](http://gems.rubyforge.org/gems/act)  
ionmailer-2.0.1.gem

I am installing Rails on a Linux server and upgrading my development  
client (Windows XP) to Rails 2.0.

It is quite shocking to see how many issues I have encountered and  
many workaround I have had to apply today.

Examples below:

For gem install rails:

1. ERROR: While executing gem … (Gem::GemNotFoundException)  
Could not find rails (\> 0) in any repository
2. undefined method `[]=’ for #Gem::ConfigFile:0x84691d4
3. ERROR: While executing gem … (Zlib::BufError) buffer error
4. ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)  
OpenURI::HTTPError: 404 Not Found reading  
[RubyGems.org | your community gem host](http://gems.rubyforge.org/gems/actionmailer-2.0.1.gem)
