# Windows 7 can't install rails

**URL:** <https://www.ruby-forum.com/t/windows-7-cant-install-rails/179341>\
**Category:** Ruby\
**Created:** [November 22, 2009, 8:33pm UTC](https://www.ruby-forum.com/t/windows-7-cant-install-rails/179341 "2009-11-22T20:33:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dale](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ecd19e/32.png) [@dale](https://www.ruby-forum.com/u/dale)\
**Post date:** [November 22, 2009, 8:33pm UTC](https://www.ruby-forum.com/t/windows-7-cant-install-rails/179341/1 "2009-11-22T20:33:07Z")

</div>

I’m sorry to be so ignorant, but; I can’t seem to get started and learn  
more.

c:\ruby\bin\>gem install rails  
ERROR: While executing gem … (Gem::RemoteSourceException)  
HTTP Response 403

c:\ruby\bin\>gem list --remote

\*\*\* REMOTE GEMS \*\*\*  
ERROR: While executing gem … (Gem::RemoteSourceException)  
HTTP Response 403

Any suggestions you have are very much appreciated,  
Dale E. Moore

---

<div class="post-metadata">

**Author:** ![dale](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ecd19e/32.png) [@dale](https://www.ruby-forum.com/u/dale)\
**Post date:** [November 22, 2009, 10:56pm UTC](https://www.ruby-forum.com/t/windows-7-cant-install-rails/179341/2 "2009-11-22T22:56:57Z")

</div>

Dear Brian and those whom have spent time looking into this; I have  
moved back to Windows XP and  
[http://rubyforge.org/frs/download.php/66872/rubyinstaller-1.9.1-p243-rc1.exe](http://rubyforge.org/frs/download.php/66872/rubyinstaller-1.9.1-p243-rc1.exe)  
and am having no problems.

Thank you for your prompt reply! I may have the opportunity to give w7  
another try and will give you feedback if I learn anything!

Thank you!  
Dale E. Moore

---

<div class="post-metadata">

**Author:** ![dale](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ecd19e/32.png) [@dale](https://www.ruby-forum.com/u/dale)\
**Post date:** [November 22, 2009, 10:46pm UTC](https://www.ruby-forum.com/t/windows-7-cant-install-rails/179341/3 "2009-11-22T22:46:37Z")

</div>

Dale E. Moore wrote:

> c:\ruby\bin\>gem install rails  
> ERROR: While executing gem … (Gem::RemoteSourceException)  
> HTTP Response 403

Are you behind a HTTP proxy which requires authentication?

“gem help install” says there is a -p option for setting a HTTP proxy.  
Perhaps you can also set the username/password in the URL, e.g.  
[http://username:removed\_email\_address@domain.invalid:3128/](http://username:removed_email_address@domain.invalid:3128/)

---

<div class="post-metadata">

**Author:** ![dale](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ecd19e/32.png) [@dale](https://www.ruby-forum.com/u/dale)\
**Post date:** [November 23, 2009, 12:00am UTC](https://www.ruby-forum.com/t/windows-7-cant-install-rails/179341/4 "2009-11-23T00:00:53Z")

</div>

On Nov 22, 4:36 pm, “Dale E. Moore” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ERROR: While executing gem … (Gem::RemoteSourceException)  
> HTTP Response 403
> 
> Any suggestions you have are very much appreciated,

The issue is not Windows 7, but the RubyGems version you’re using.

1. Check the Ruby version and RubyGems version you’re using.

ruby -v  
gem --version

1. Ensure you’re using RubyGems 1.3.5, if not, please manually install  
it as indicated here:

[http://blog.mmediasys.com/2008/08/04/problems-with-rubygems-find-here-some-handy-tips/](http://blog.mmediasys.com/2008/08/04/problems-with-rubygems-find-here-some-handy-tips/)

1. If you’re using an older version of One-Click Installer, I  
recommend migration to RubyInstaller RC1:

[http://rubyforge.org/forum/forum.php?forum\_id=35591](http://rubyforge.org/forum/forum.php?forum_id=35591)

You will find more information in the wiki page about this version of  
Ruby and Rails:

[http://wiki.github.com/oneclick/rubyinstaller/tutorials](http://wiki.github.com/oneclick/rubyinstaller/tutorials)

---

<div class="post-metadata">

**Author:** ![dale](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ecd19e/32.png) [@dale](https://www.ruby-forum.com/u/dale)\
**Post date:** [November 23, 2009, 6:57am UTC](https://www.ruby-forum.com/t/windows-7-cant-install-rails/179341/5 "2009-11-23T06:57:23Z")

</div>

Dear Luis;

Your response is WONDERFUL, thank you!

I’ve installed  
[http://rubyforge.org/frs/download.php/66872/rubyinstaller-1.9.1-p243-rc1.exe](http://rubyforge.org/frs/download.php/66872/rubyinstaller-1.9.1-p243-rc1.exe)  
and she is working perfectly.

I appreciate your prompt and informative reply!  
Dale

---

<div class="post-metadata">

**Author:** ![dale](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ecd19e/32.png) [@dale](https://www.ruby-forum.com/u/dale)\
**Post date:** [December 4, 2009, 6:15am UTC](https://www.ruby-forum.com/t/windows-7-cant-install-rails/179341/6 "2009-12-04T06:15:46Z")

</div>

On 23 nov, 02:57, “Dale E. Moore” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Posted viahttp://www.ruby-forum.com/.  
> Note, i’m having the same problem, and I did the instalation of new  
> Ruby instaler (1.8), it seemed to worked fine, but this has seriours  
> problems with some gems, in my case with Json gem (witch can’t  
> compile) and with Postgres-pr (witch having socket problems). I back  
> to the older one click instaler, and them instaled Rubygems 1.3.5  
> manually and all is working fine.

---

<div class="post-metadata">

**Author:** ![dale](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ecd19e/32.png) [@dale](https://www.ruby-forum.com/u/dale)\
**Post date:** [December 4, 2009, 4:42pm UTC](https://www.ruby-forum.com/t/windows-7-cant-install-rails/179341/7 "2009-12-04T16:42:05Z")

</div>

On Dec 4, 2:10 am, Wilker [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > ## Dale
> > 
> > Posted viahttp://www.ruby-forum.com/.
> 
> Note, i’m having the same problem, and I did the instalation of new  
> Ruby instaler (1.8), it seemed to worked fine, but this has seriours  
> problems with some gems, in my case with Json gem (witch can’t  
> compile) and with Postgres-pr (witch having socket problems). I back  
> to the older one click instaler, and them instaled Rubygems 1.3.5  
> manually and all is working fine.

TO solve the issue of the gems need compilation you should have  
downloaded the DevKit:

[http://wiki.github.com/oneclick/rubyinstaller/development-kit](http://wiki.github.com/oneclick/rubyinstaller/development-kit)

The Development Kit provides the compiler toolset required to install  
gems that lack Windows native versions.

With it, most gems will compile and install just fine.

JSON authors and others are integrating a tool called ‘rake-compiler’  
to make it more easy release Windows gems of these projects.

Until all them do it, I recommend you install the DevKit.

Contrary to One-Click, setup of it is just extract and performance is  
much better:

> **[A faster Ruby on Windows is possible (benchmarks for 4 implementations inside)...](https://programmingzen.com/a-faster-ruby-on-windows-is-possible/)**
>
> In yesterday’s post I compared IronRuby 0.9, Ruby 1.8.6 (from the One-Click Installer) and Ruby 1.9.1 (downloaded from the official site) against one another. IronRuby did great, but the discussion in the comment section quickly veered towards what...
