Hi there, I''m a new to Rails and to Ruby too. I hope you can help with what hopefully is a simple installation problem. I have successfully installed version: C:\>ruby -v ruby 1.8.2 (2004-12-25) [i386-mswin32] I have successfully installed gem: C:\>gem --version 0.8.11 When I try to install Rails i get the following error: C:\>gem install rails --include-dependencies Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem ... (Errno::ETIMEDOUT) A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) I believe this error occurs because I use a proxy. Therefore, I set the HTTP_PROXY variable as: C:\>set HTTP_PROXY=wwwcache.dur.ac.uk:8080 Now the error I get when attempting to install Rails is: C:\>gem install rails --include-dependencies Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem ... (NoMethodError) undefined method `proxy_open'' for #<URI::Generic:0x177ac8c URL:wwwcache.dur.ac.uk:8080> Any help in solving my installation problem will be much appreciated. Alternatively, I have downloaded the Rails zip file from the website. How do I manually install this? Cheers, Nick.
On Mon, 2005-07-18 at 12:04 +0100, Nick Rowlands wrote:> Hi there, > > I''m a new to Rails and to Ruby too. I hope you can help with what > hopefully is a simple installation problem. > > I have successfully installed version: > > C:\>ruby -v > ruby 1.8.2 (2004-12-25) [i386-mswin32] > > I have successfully installed gem: > > C:\>gem --version > 0.8.11 > > When I try to install Rails i get the following error: > > C:\>gem install rails --include-dependencies > Attempting local installation of ''rails'' > Local gem file not found: rails*.gem > Attempting remote installation of ''rails'' > Updating Gem source index for: http://gems.rubyforge.org > ERROR: While executing gem ... (Errno::ETIMEDOUT) > A connection attempt failed because the connected party did not > properly respond after a period of time, or established connection > failed because connected host has failed to respond. - connect(2) > > I believe this error occurs because I use a proxy. Therefore, I set > the HTTP_PROXY variable as: > > C:\>set HTTP_PROXY=wwwcache.dur.ac.uk:8080How about trying c:\>set HTTP_PROXY=http://www.cache.dur.ac.uk:8080 ?? Regards, Henning
As a last alternative, you could also try manually downloading the gems from http://gems.rubyforge.org/gems/ and doing: gem install * You''re gonna need at least the gems for actionmailer, actionpack, actionwebservice, activerecord, activesupport, rails and rake. 2005/7/18, Nick Rowlands <nick.rowlands-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > Alternatively, I have downloaded the Rails zip file from the website. > How do I manually install this? > >-- Rafael Rezende _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails