ERROR: Could not find a valid gem 'rails' (>= 0), here is why: Unable to download data from

I want to install Rails on my Raspberry Pi

but i got message

ERROR: Could not find a valid gem ‘rails’ (>= 0), here is why: Unable to
download data fromhttp://rubygems.org/ - no such name (
http://rubygems.org/latest_specs.4.8.gz)

How can I solve this problem?

On 2013-Apr-12, at 14:02 , Phawin Khongkhasawan wrote:

I want to install Rails on my Raspberry Pi

but i got message

ERROR: Could not find a valid gem ‘rails’ (>= 0), here is why: Unable to
download data fromhttp://rubygems.org/ - no such name
(http://rubygems.org/latest_specs.4.8.gz)

How can I solve this problem?

Well, this is probably more than you need, but it does include
everything that you need to get a Rails development system on the Pi.

-Rob

C:>gem install rails --no-http-proxy
ERROR: Could not find a valid gem ‘rails’ (>= 0), here is why:
Unable to download data from https://rubygems.org/ - no such
name (https://rubygems.org/specs.4.8.gz)