Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Windows 7 can't install rails...

5 views
Skip to first unread message

Dale E. Moore

unread,
Nov 22, 2009, 2:36:31 PM11/22/09
to
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
--
Posted via http://www.ruby-forum.com/.

Brian Candler

unread,
Nov 22, 2009, 4:47:03 PM11/22/09
to
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:pass...@host.example.com:3128/

Dale E. Moore

unread,
Nov 22, 2009, 4:57:04 PM11/22/09
to
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
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

Luis Lavena

unread,
Nov 22, 2009, 5:59:07 PM11/22/09
to
On Nov 22, 4:36 pm, "Dale E. Moore" <daleemo...@gmail.com> wrote:
> 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,

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

2) 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/

3) 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

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

http://wiki.github.com/oneclick/rubyinstaller/tutorials

--
Luis Lavena

Dale E. Moore

unread,
Nov 23, 2009, 12:57:25 AM11/23/09
to
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
and she is working perfectly.

I appreciate your prompt and informative reply!
Dale

Wilker

unread,
Dec 4, 2009, 12:10:49 AM12/4/09
to
On 23 nov, 02:57, "Dale E. Moore" <daleemo...@gmail.com> wrote:
> Dear Luis;
>
> Your response is WONDERFUL, thank you!
>
> I've installedhttp://rubyforge.org/frs/download.php/66872/rubyinstaller-1.9.1-p243-...

> and she is working perfectly.
>
> I appreciate your prompt and informative reply!
> 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.

Luis Lavena

unread,
Dec 4, 2009, 9:51:35 AM12/4/09
to

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

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:

http://antoniocangiano.com/2009/08/04/a-faster-ruby-on-windows-is-possible/

--
Luis Lavena

0 new messages