I was a client site today on another project and we started talking
RoR. I wanted to show it in action, so I downloaded the one-click Ruby
installer for Windows and then tried to do “gem install Rails
-include-dependencies”. After a time-out period I received the
ERROR: While executing gem.(Gem::RemoteSourceException)
Error fetching remote gem cache: getaddrinfo: no address associated
That brings me to question 1 (and 1a, I guess): Their site operates
proxy. Is that the issue here? What port does gems use, anyway?
From the RoR web site I found that I could download the Rails distribution.
I did so and unzipped it, but - I’m embarrassed to admit this - I didn’t
know what to do from there. So, question 2 (and 2a): how could I have
installed Rails from the zip file? Was it already installed and I
Ultimately, I went to RubyForge and downloaded the latest gems for
actionmailer, actionpack, actionwebservice, activerecord, activesupport,
rails (natch), and rake. Then I used gem to install them all locally.
even downloaded RadRails, since of course the Eclipse update link didn’t
So, finally, question 3 (and even 3a and 3b): how much of this grand
was actually necessary? How should I plan to handle this sort of
the future? And what was going on that I missed?
(By the way, before anyone suggests InstantRails - which admittedly
I tried that. When I downloaded it, during the copy operation from a
directory to C:\ the lovely Windows OS said that my disk was either
write-protected or full, neither of which was true. I downloaded and
unzipped other files both before and after that.)
Thanks for any help,
P.S. Eventually it all worked and the client was very impressed.
Kenneth A. Kousen, Ph.D.
Kousen IT, Inc.