# Gem error on Vista

**URL:** <https://www.ruby-forum.com/t/gem-error-on-vista/134363>\
**Category:** Rails\
**Created:** [April 10, 2008, 5:18am UTC](https://www.ruby-forum.com/t/gem-error-on-vista/134363 "2008-04-10T05:18:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@Davo](https://www.ruby-forum.com/u/Davo)\
**Post date:** [April 10, 2008, 5:18am UTC](https://www.ruby-forum.com/t/gem-error-on-vista/134363/1 "2008-04-10T05:18:16Z")

</div>

Hi All,

I have to install a RoR development system on a new Vista notebook.

When I get to ‘gem install anything’ I get the following error.

c:\ruby\>gem install mysql  
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)  
Errno::ECONNABORTED: An established connection was aborted by the  
software i  
n your host machine. reading  
[RubyGems.org | your community gem host](http://gems.rubyforge.org/gems/mysql-2.7.3-mswin32).  
gem

I have gem 1.1.0 installed

It does not appear to be a firewall issue !

This is Vista Business with SP1

cheers, Dave  
p.s. Please no comments about getting a Mac - that line is getting  
somewhat worn - I don’t disagree that Mac is the best platform for RoR  
development, but this is being set up for an overseas trip and I’m  
also a Windows App developer, so to take two notebook is just not an  
option !

---

<div class="post-metadata">

**Author:** ![Davo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@Davo](https://www.ruby-forum.com/u/Davo)\
**Post date:** [April 10, 2008, 6:31am UTC](https://www.ruby-forum.com/t/gem-error-on-vista/134363/2 "2008-04-10T06:31:22Z")

</div>

are you running cmd as administrator?

---

<div class="post-metadata">

**Author:** ![Davo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@Davo](https://www.ruby-forum.com/u/Davo)\
**Post date:** [April 10, 2008, 6:41am UTC](https://www.ruby-forum.com/t/gem-error-on-vista/134363/3 "2008-04-10T06:41:54Z")

</div>

Yes I am - thanks for that…  
Dave

---

<div class="post-metadata">

**Author:** ![Davo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@Davo](https://www.ruby-forum.com/u/Davo)\
**Post date:** [April 10, 2008, 6:44am UTC](https://www.ruby-forum.com/t/gem-error-on-vista/134363/4 "2008-04-10T06:44:50Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Jonzo wrote:  
| are you running cmd as administrator?

Shouldn’t be necessary if Ruby and Rubygems are installed in their own  
directory outside of \Programs.

* * *

Phillip G.  
Twitter: [twitter.com/cynicalryan](http://twitter.com/cynicalryan)

~ “If people could put rainbows in zoos, they’d do it.” -Hobbes  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.8 (MingW32)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org](http://enigmail.mozdev.org)

iEYEARECAAYFAkf9mxQACgkQbtAgaoJTgL8G3gCbBUNjEm4rdK61YRJgVeJmJN15  
cpkAnRD7U7ixBnnEoHsduvF9ED2MfhP6  
=F4Kn  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![Davo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@Davo](https://www.ruby-forum.com/u/Davo)\
**Post date:** [April 10, 2008, 6:55am UTC](https://www.ruby-forum.com/t/gem-error-on-vista/134363/5 "2008-04-10T06:55:57Z")

</div>

Here’s a link to a thread that is mainly a flame war, but somewhere in  
the mix they mentioned that gems were broken and you had to remove  
[gems.rubyonrails.org](http://gems.rubyonrails.org) from your gems sources. This might not apply to  
vista though, and I couldn’t really see through the flames to find  
more details on the solution, but here’s the thread:

[http://groups.google.com/group/rubyonrails-talk/browse\_thread/thread/d26b0b76b169fe1](http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/d26b0b76b169fe1)

On Apr 10, 4:44 pm, Phillip G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![Davo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@Davo](https://www.ruby-forum.com/u/Davo)\
**Post date:** [April 10, 2008, 10:29am UTC](https://www.ruby-forum.com/t/gem-error-on-vista/134363/6 "2008-04-10T10:29:23Z")

</div>

Thanks, but did not appear to have anything relevant - will keep  
trying…  
cheers, Dave

---

<div class="post-metadata">

**Author:** ![Davo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@Davo](https://www.ruby-forum.com/u/Davo)\
**Post date:** [April 10, 2008, 8:23pm UTC](https://www.ruby-forum.com/t/gem-error-on-vista/134363/7 "2008-04-10T20:23:48Z")

</div>

Were you able to install any other gems successfully?

What version of MySQL are you using BTW? Probably not related, but  
when I wrote up my recipe for Vista a couple of weeks ago, I ran in to  
issues with MySQL and the gem (see  
[http://www.buildingwebapps.com/articles/20-setting-up-rails-on-windows-vista](http://www.buildingwebapps.com/articles/20-setting-up-rails-on-windows-vista))  
I actually left UAC turned off on one of my passes through the  
instructions.

I’ve since received comments of folks running in to other problems  
doing things like gem update --system and getting access violations.

I’m away from my Vista VM at the moment, so can’t check my current  
version numbers.

-Christopher

---

<div class="post-metadata">

**Author:** ![Davo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@Davo](https://www.ruby-forum.com/u/Davo)\
**Post date:** [April 11, 2008, 1:58am UTC](https://www.ruby-forum.com/t/gem-error-on-vista/134363/8 "2008-04-11T01:58:21Z")

</div>

Thanks Chris - I actually ran through your guide to do this, so thanks  
for that…

I have UAC turned off, so I assume this is not an issue.

I seemed to get the same type of error on any 'gem install … ’

I may not get back to this until the weekend, but I’ll keep you  
updated.

I also downloaded the InstandtRails install, but have not had time to  
try that yet.  
Let you know.  
regards, Dave
