# InstantRails windows Installation, problem with Gem

**URL:** <https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791>\
**Category:** ruby-talk\
**Created:** [30 October 2007 14:48 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791 "2007-10-30T14:48:57Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronald\_Dsouza](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Ronald\_Dsouza](https://rubytalk.org/u/Ronald_Dsouza)\
**Post date:** [30 October 2007 14:48 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/1 "2007-10-30T14:48:57Z")

</div>

Hi Good Morning,  
I downloaded and installed the Instant Rails 1.7 from the website  
onto my local windows xp machine in  
C:\ruby\InstantRails-1.7-win\InstantRails

then I ran the following to update the version of RubyGems that comes  
with InstantRails:  
C:\InstantRails\> gem update --system

I get the following error: (could someone help me where I am going  
wrong)  
thanks.

C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem\_original\_require': no such file  
to load -- sources (LoadError)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from  
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from  
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/source\_info\_cache.rb:6  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from  
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem\_original\_require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from  
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from  
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/remote\_installer.rb:12  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from  
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem\_original\_require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from  
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from  
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems.rb:112:in  
`manage\_gems'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from  
C:/ruby/InstantRails-1.7-win/InstantRails/ruby/bin/gem.bat:6

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Mohit\_Sindhwani1](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Mohit\_Sindhwani1](https://rubytalk.org/u/Mohit_Sindhwani1)\
**Post date:** [30 October 2007 17:19 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/2 "2007-10-30T17:19:05Z")

</div>

Ronald Dsouza wrote:

> Hi Good Morning,  
> I downloaded and installed the Instant Rails 1.7 from the website  
> onto my local windows xp machine in  
> C:\ruby\InstantRails-1.7-win\InstantRails
> 
> then I ran the following to update the version of RubyGems that comes  
> with InstantRails:  
> C:\InstantRails\> gem update --system
> 
> I get the following error: (could someone help me where I am going  
> wrong)  
> thanks.
> 
> C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
> `gem\_original\_require': no such file  
> to load -- sources (LoadError)  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from

Hi, I'm not sure if this will help you, but there's a file called use\_ruby.cmd that should be run from your console before you use InstantRails for anything else. Have you done that?

Cheers,  
Mohit.  
10/31/2007 | 1:18 AM.

---

<div class="post-metadata">

**Author:** ![Roger\_Pack4](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@Roger\_Pack4](https://rubytalk.org/u/Roger_Pack4)\
**Post date:** [30 October 2007 17:24 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/3 "2007-10-30T17:24:58Z")

</div>

make sure gems/sources-x-x directory exists  
maybe edit rbconfig.rb ('s) that exist, point them to your directory  
where you installed it.

> **···**
>
> > C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
> > `gem\_original\_require': no such file  
> > to load -- sources (LoadError)
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Ronald\_Dsouza](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Ronald\_Dsouza](https://rubytalk.org/u/Ronald_Dsouza)\
**Post date:** [30 October 2007 19:31 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/4 "2007-10-30T19:31:23Z")

</div>

Hi Mohit/Roger  
Thanks for your response  
After I sent the message I just un-installed everything and am  
redoing unzipping to a new dir C:/InstantRails-1.7-win.

then I am planning to run tests as you have mentioned.

will keep you posted on this forum regarding the progress.

Thanks again.  
Ron.

Roger Pack wrote:

> **···**
>
> > make sure gems/sources-x-x directory exists  
> > maybe edit rbconfig.rb ('s) that exist, point them to your directory  
> > where you installed it.
> > 
> > > C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
> > > `gem\_original\_require': no such file  
> > > to load -- sources (LoadError)
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Ronald\_Dsouza](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Ronald\_Dsouza](https://rubytalk.org/u/Ronald_Dsouza)\
**Post date:** [30 October 2007 20:03 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/5 "2007-10-30T20:03:15Z")

</div>

Hi,

Re-installed Rails and am getting new error as mentioned in item 3  
below:

> **···**
>
> ---------------  
> 1. found use\_ruby.cmd in C:\InstantRails-1.7-win\InstantRails dir  
> &nbsp;&nbsp;&nbsp;ran the cmd from console, as:
> 
> C:\InstantRails-1.7-win\InstantRails\>use\_ruby.cmd
> 
> C:\InstantRails-1.7-win\InstantRails\>CD  
> C:\InstantRails-1.7-win\InstantRails
> 
> C:\InstantRails-1.7-win\InstantRails\>PATH  
> C:\InstantRails-1.7-win\InstantRails\ruby\bin;C:\InstantRails-1.7-win\InstantRails\mysql\bin;C:\or  
> acle\product\10.2.0\client\_1\bin;C:\WINDOWS\system32;C:\WINDOWS;
> 
> C:\InstantRails-1.7-win\InstantRails\>cd rails\_apps
> 
> C:\InstantRails-1.7-win\InstantRails\rails\_apps\>dir  
> Volume in drive C is WINXP  
> Volume Serial Number is 9897-F09E
> 
> Directory of C:\InstantRails-1.7-win\InstantRails\rails\_apps
> 
> 10/30/2007 03:22 PM \<DIR\> .  
> 10/30/2007 03:22 PM \<DIR\> ..  
> 10/30/2007 03:22 PM \<DIR\> .metadata  
> 10/30/2007 03:22 PM \<DIR\> cookbook  
> 10/30/2007 03:22 PM \<DIR\> typo-2.6.0  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 File(s) 0 bytes  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5 Dir(s) 43,133,116,416 bytes free
> 
> ---------------------------  
> 2. found gem sources-\*\* in  
> C:\InstantRails-1.7-win\InstantRails\ruby\lib\ruby\gems\1.8\doc\rubygems-0.9.2\rdoc\classes\Gem
> 
> 3. Ran the update  
> &nbsp;&nbsp;&nbsp;gem update --system
> 
> get the following error:  
> C:\InstantRails-1.7-win\InstantRails\rails\_apps\>gem update --system  
> Updating RubyGems...  
> ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)  
> &nbsp;&nbsp;&nbsp;&nbsp;Bad file descriptor - connect(2)(Errno::EBADF)
> 
> ---------------  
> Thanks.  
> Ron.
> 
> Ronald Dsouza wrote:
> 
> > Hi Mohit/Roger  
> > Thanks for your response  
> > After I sent the message I just un-installed everything and am  
> > redoing unzipping to a new dir C:/InstantRails-1.7-win.
> > 
> > then I am planning to run tests as you have mentioned.
> > 
> > will keep you posted on this forum regarding the progress.
> > 
> > Thanks again.  
> > Ron.
> > 
> > Roger Pack wrote:
> > 
> > > make sure gems/sources-x-x directory exists  
> > > maybe edit rbconfig.rb ('s) that exist, point them to your directory  
> > > where you installed it.
> > > 
> > > > C:/ruby/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
> > > > `gem\_original\_require': no such file  
> > > > to load -- sources (LoadError)
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Roger\_Pack4](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@Roger\_Pack4](https://rubytalk.org/u/Roger_Pack4)\
**Post date:** [30 October 2007 20:06 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/6 "2007-10-30T20:06:41Z")

</div>

Try running it several times--that usually means a poor connection or  
something (?)

> **···**
>
> > C:\InstantRails-1.7-win\InstantRails\rails\_apps\>gem update --system  
> > Updating RubyGems...  
> > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)  
> > &nbsp;&nbsp;&nbsp;&nbsp;Bad file descriptor - connect(2)(Errno::EBADF)
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Mohit\_Sindhwani1](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Mohit\_Sindhwani1](https://rubytalk.org/u/Mohit_Sindhwani1)\
**Post date:** [31 October 2007 06:05 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/7 "2007-10-31T06:05:14Z")

</div>

Ronald Dsouza wrote:

> 3. Ran the update  
> &nbsp;&nbsp;&nbsp;gem update --system
> 
> get the following error:  
> C:\InstantRails-1.7-win\InstantRails\rails\_apps\>gem update --system  
> Updating RubyGems...  
> ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)  
> &nbsp;&nbsp;&nbsp;&nbsp;Bad file descriptor - connect(2)(Errno::EBADF)  
> &nbsp;&nbsp;  
> Ron, I agree with the other post - try running it multiple time, seems like an intermittent problem.

Cheers,  
Mohit.  
10/31/2007 | 2:04 PM.

---

<div class="post-metadata">

**Author:** ![Ronald\_Dsouza](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Ronald\_Dsouza](https://rubytalk.org/u/Ronald_Dsouza)\
**Post date:** [31 October 2007 17:54 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/8 "2007-10-31T17:54:50Z")

</div>

Hi thanks for responding,  
I ran the command several times.  
but no luck.  
I still get the same error message.

Is there anything else that I need to do

Thanks again for your help.  
Ron.

Mohit Sindhwani wrote:

> **···**
>
> > Ronald Dsouza wrote:
> > 
> > > 3. Ran the update  
> > > &nbsp;&nbsp;&nbsp;gem update --system
> > > 
> > > get the following error:  
> > > C:\InstantRails-1.7-win\InstantRails\rails\_apps\>gem update --system  
> > > Updating RubyGems...  
> > > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)  
> > > &nbsp;&nbsp;&nbsp;&nbsp;Bad file descriptor - connect(2)(Errno::EBADF)  
> > > &nbsp;&nbsp;  
> > > Ron, I agree with the other post - try running it multiple time, seems  
> > > like an intermittent problem.
> > 
> > Cheers,  
> > Mohit.  
> > 10/31/2007 | 2:04 PM.
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Mohit\_Sindhwani1](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Mohit\_Sindhwani1](https://rubytalk.org/u/Mohit_Sindhwani1)\
**Post date:** [31 October 2007 17:58 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/9 "2007-10-31T17:58:07Z")

</div>

Ronald Dsouza wrote:

> Hi thanks for responding,  
> I ran the command several times.  
> but no luck.  
> I still get the same error message.
> 
> Is there anything else that I need to do
> 
> Thanks again for your help.  
> Ron.
> 
> Mohit Sindhwani wrote:  
> &nbsp;&nbsp;
> 
> > Ronald Dsouza wrote:  
> > &nbsp;&nbsp;&nbsp;&nbsp;
> > 
> > > 3. Ran the update  
> > > &nbsp;&nbsp;&nbsp;gem update --system
> > > 
> > > get the following error:  
> > > C:\InstantRails-1.7-win\InstantRails\rails\_apps\>gem update --system  
> > > Updating RubyGems...  
> > > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)  
> > > &nbsp;&nbsp;&nbsp;&nbsp;Bad file descriptor - connect(2)(Errno::EBADF)  
> > > &nbsp;&nbsp;
> > 
> > Ron, I agree with the other post - try running it multiple time, seems  
> > like an intermittent problem.
> > 
> > Cheers,  
> > Mohit.  
> > 10/31/2007 | 2:04 PM.  
> > &nbsp;&nbsp;&nbsp;&nbsp;  
> > Are you behind a proxy?

Cheers,  
Mohit.  
11/1/2007 | 1:57 AM.

---

<div class="post-metadata">

**Author:** ![Ronald\_Dsouza](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Ronald\_Dsouza](https://rubytalk.org/u/Ronald_Dsouza)\
**Post date:** [31 October 2007 20:09 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/10 "2007-10-31T20:09:47Z")

</div>

Hi Mohit,

I am installing this at work place  
on my local hard drive and use proxy to connect to internet.

Thanks  
Ron.

Mohit Sindhwani wrote:

> **···**
>
> > Ronald Dsouza wrote:
> > 
> > > Mohit Sindhwani wrote:
> > > 
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;Bad file descriptor - connect(2)(Errno::EBADF)  
> > > > > &nbsp;&nbsp;
> > 
> > Are you behind a proxy?
> > 
> > Cheers,  
> > Mohit.  
> > 11/1/2007 | 1:57 AM.
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Roger\_Pack4](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@Roger\_Pack4](https://rubytalk.org/u/Roger_Pack4)\
**Post date:** [31 October 2007 20:38 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/11 "2007-10-31T20:38:05Z")

</div>

google for 'gem proxy'  
Ronald Dsouza wrote:9

> **···**
>
> > Hi Mohit,
> > 
> > I am installing this at work place  
> > on my local hard drive and use proxy to connect to internet.
> > 
> > Thanks
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Ronald\_Dsouza](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Ronald\_Dsouza](https://rubytalk.org/u/Ronald_Dsouza)\
**Post date:** [31 October 2007 20:38 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/12 "2007-10-31T20:38:43Z")

</div>

Hello Again,

I ran the following:  
----------------- (1)  
C:\InstantRails-1.7-win\InstantRails\ruby\bin\>gem update -p  
http://\<proxy address\>:80  
ERROR: While executing gem ... (NoMethodError)  
&nbsp;&nbsp;&nbsp;&nbsp;undefined method `=' for #\<Gem::ConfigFile:0x2bc92cc\>

------ (2)  
tried the same by setting env var  
c:\...\\>set HTTP\_PROXY=  
c:\,\\> gem update -http\_proxy  
get the same result.

> **···**
>
> -------------------  
> Any kind of input is highly appreciated.  
> Thanks again  
> Ron.
> 
> Ronald Dsouza wrote:
> 
> > Hi Mohit,
> > 
> > I am installing this at work place  
> > on my local hard drive and use proxy to connect to internet.
> > 
> > Thanks  
> > Ron.
> > 
> > Mohit Sindhwani wrote:
> > 
> > > Ronald Dsouza wrote:
> > > 
> > > > Mohit Sindhwani wrote:
> > > > 
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;Bad file descriptor - connect(2)(Errno::EBADF)  
> > > > > > &nbsp;&nbsp;
> > > 
> > > Are you behind a proxy?
> > > 
> > > Cheers,  
> > > Mohit.  
> > > 11/1/2007 | 1:57 AM.
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Mohit\_Sindhwani1](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Mohit\_Sindhwani1](https://rubytalk.org/u/Mohit_Sindhwani1)\
**Post date:** [1 November 2007 04:27 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/13 "2007-11-01T04:27:45Z")

</div>

Hi Ron

I'm a bit perplexed now. There are 2 things you can look at:

1. [http://angrys0ul.com/blog/2007/04/25/how-to-install-ruby-on-rails-on-a-windows-pc/](http://angrys0ul.com/blog/2007/04/25/how-to-install-ruby-on-rails-on-a-windows-pc/)  
If you're looking at updating Rails (I've forgotten your original post), you can look at the hints in this article for installing gems locally (by downloading the archive)

2. [http://rubygems.org/read/chapter/15](http://rubygems.org/read/chapter/15) and [http://rubygems.org/read/chapter/19](http://rubygems.org/read/chapter/19)  
These show the basic FAQ for installation problems.

3. [http://wiki.rubyonrails.org/rails/pages/RailsOnWindows](http://wiki.rubyonrails.org/rails/pages/RailsOnWindows)  
This shows the commands related to installing from behind a proxy. It seems that you should do:  
If you need to use a proxy, add ’-p [http://proxy](http://proxy):port’ to all gem install commands. It seems that the proxy method you used might not work on Windows.

Hope one of these methods works for you.

Cheers,  
Mohit.  
11/1/2007 | 12:27 PM.

Ronald Dsouza wrote:

> **···**
>
> > Hi Mohit,
> > 
> > I am installing this at work place  
> > on my local hard drive and use proxy to connect to internet.
> > 
> > Thanks  
> > Ron.

---

<div class="post-metadata">

**Author:** ![Roger\_Pack4](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@Roger\_Pack4](https://rubytalk.org/u/Roger_Pack4)\
**Post date:** [31 October 2007 20:47 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/14 "2007-10-31T20:47:39Z")

</div>

run gem help  
look for how to do gem help on commands  
do that  
look for gem help on install command  
do that  
run with backtrace and debug turned on  
repost 🙂  
Take care!  
-Roger  
Ronald Dsouza wrote:

> **···**
>
> > Hello Again,
> > 
> > I ran the following:  
> > ----------------- (1)  
> > C:\InstantRails-1.7-win\InstantRails\ruby\bin\>gem update -p  
> > http://\<proxy address\>:80  
> > ERROR: While executing gem ... (NoMethodError)  
> > &nbsp;&nbsp;&nbsp;&nbsp;undefined method `=' for #\<Gem::ConfigFile:0x2bc92cc\>
> > 
> > ------ (2)  
> > tried the same by setting env var  
> > c:\...\\>set HTTP\_PROXY=  
> > c:\,\\> gem update -http\_proxy  
> > get the same result.  
> > -------------------  
> > Any kind of input is highly appreciated.  
> > Thanks again  
> > Ron.
> > 
> > Ronald Dsouza wrote:
> > 
> > > Hi Mohit,
> > > 
> > > I am installing this at work place  
> > > on my local hard drive and use proxy to connect to internet.
> > > 
> > > Thanks  
> > > Ron.
> > > 
> > > Mohit Sindhwani wrote:
> > > 
> > > > Ronald Dsouza wrote:
> > > > 
> > > > > Mohit Sindhwani wrote:
> > > > > 
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;Bad file descriptor - connect(2)(Errno::EBADF)  
> > > > > > > &nbsp;&nbsp;
> > > > 
> > > > Are you behind a proxy?
> > > > 
> > > > Cheers,  
> > > > Mohit.  
> > > > 11/1/2007 | 1:57 AM.
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Ronald\_Dsouza](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Ronald\_Dsouza](https://rubytalk.org/u/Ronald_Dsouza)\
**Post date:** [1 November 2007 18:22 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/15 "2007-11-01T18:22:52Z")

</div>

Hi Guys,

I ran the following :

gem list -r --backtrace -p '[http://proxy:80](http://proxy:80)'

> **···**
>
> ------------------  
> ERROR: While executing gem ... (NoMethodError)  
> &nbsp;&nbsp;&nbsp;&nbsp;undefined method `[]=' for #\<Gem::ConfigFile:0x2bc9164\>  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/command.rb:258  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/command.rb:186:in  
> `call'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/command.rb:186:in  
> `configure\_options'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1291:in  
> `call'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1291:in  
> `parse\_in\_order'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1247:in  
> `catch'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1247:in  
> `parse\_in\_order'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1241:in  
> `order!'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1332:in  
> `permute!'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1353:in  
> `parse!'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/command.rb:123:in  
> `handle\_options'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/command.rb:64:in  
> `invoke'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/cmd\_manager.rb:120:in  
> `process\_args'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/cmd\_manager.rb:91:in  
> `run'  
> C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/site\_ruby/1.8/rubygems/gem\_runner.rb:30:in  
> `run'  
> C:/InstantRails-1.7-win/InstantRails/ruby/bin/gem.bat:19
> 
> ---  
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Roger\_Pack4](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@Roger\_Pack4](https://rubytalk.org/u/Roger_Pack4)\
**Post date:** [1 November 2007 18:26 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/16 "2007-11-01T18:26:12Z")

</div>

I wonder if you could fix it by downloading rubygems again (from its  
site)...

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Ronald\_Dsouza](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Ronald\_Dsouza](https://rubytalk.org/u/Ronald_Dsouza)\
**Post date:** [1 November 2007 18:27 UTC](https://rubytalk.org/t/instantrails-windows-installation-problem-with-gem/41791/17 "2007-11-01T18:27:20Z")

</div>

Will do that.

Thanks again.  
Ron.

Roger Pack wrote:

> **···**
>
> > I wonder if you could fix it by downloading rubygems again (from its  
> > site)...
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).
