Newbee can not install rails

Hi,
When I try to install rails with the following command
I get the following error.
c:\ruby>gem install rails --include-dependencies
ERROR: While executing gem … (RuntimeError)
Error instaling rails:
rails requires activesupport = 1.4.2

Any help is appreciated
Thanks in advance
yc

Hi Yusuf,

Did you download the .gem file? If so, that’s not necessary and it’s
probably what’s causing your problem. If you run “gem install rails”
and there’s a file called “rails*.gem” in the current directory it
will try to install that file but it won’t install the dependencies,
hence the error message.

The easiest way to use Rubygems is to let it download the gems and
their dependencies for you automatically. So if you delete that .gem
file and try again, the installation should work.

Regards,
Dave

On Apr 11, 6:11 pm, Yusuf C. [email protected]

Thanks Dave for helping me out on this subject.
That’s right there is gem file in the ruby dir. I erased it.
But This time error changed.
C:\ruby>gem install rails --include-dependencies
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
Bad file descriptor - connect(2)(Errno::EBADF)

Thanks Dave
yc

Hi Yusuf,

ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
Bad file descriptor - connect(2)(Errno::EBADF)

Yes, this happens from time to time. Rubyforge is great, but it can
get a bit overloaded at times. Just try again until it works.

Regards,
Dave

Thanks Dave,
I will keep trying anyway.
But what I’ve found Instant Rails which is all in one.
You may have heard.
Do you think if I install it and will solve my problems?
http://instantrails.rubyforge.org/wiki/wiki.pl

Thanks again
Regards
Yusuf

Hi Yusuf,

But what I’ve found Instant Rails which is all in one.
You may have heard.
Do you think if I install it and will solve my problems?http://instantrails.rubyforge.org/wiki/wiki.pl

InstantRails is very popular but I’ve never used it. I prefer the
power and flexibility of gems. But sure: there’s no harm in trying
it.

Regards,
Dave

But what I’ve found Instant Rails which is all in one.
You may have heard.
Do you think if I install it and will solve my problems?
http://instantrails.rubyforge.org/wiki/wiki.pl

yes, InstantRails will solve that one, I faced same prob, and switched
to InstantRails. Also it has in built, Ruby+Rails+Apache+Mysql.

Copy crossed ruby dir from InstantRails dir.
And it worked.

Thanks all
Yusuf

Thanks Dave for sheding a light on me on this issue.
InstantRails looks like a black box I guess.
I’ve installed it and see rails is there
I wonder if there is a way of copy cross rails
from InstantRails to my original Ruby dir?

Best regards
Yusuf