level 1
小斌1982
楼主
从这个月开始,自己想自学下Ruby,买了本《RailsSpace - Ruby on Rails Web 应用开发》,按照书中的步骤一步一步的安装,以下是我下载并安装的文件版本(我是在WIN7系统上安装的,所以下载的都是Windows版本):
1、安装Ruby:安装版本是 Ruby 2.0.0-p195
2、安装标准Ruby包管理器RubyGems:安装版本是 rubygems-1.8.25
3、安装开发工具包 DevKit:安装版本是 DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe,这个是在官网上看到的Ruby2.0对应的版本。
然后安装rails的时候,用命令提示符,进入Ruby的bin目录,然后运行下面的命令: > gem install rails --include-dependencies
之后报错:
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
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) (http://rubygems.org/gems/activemodel-4.0.0.gem)
谁能告诉我,这个是怎么回事吗?
2013年07月15日 01点07分
1
1、安装Ruby:安装版本是 Ruby 2.0.0-p195
2、安装标准Ruby包管理器RubyGems:安装版本是 rubygems-1.8.25
3、安装开发工具包 DevKit:安装版本是 DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe,这个是在官网上看到的Ruby2.0对应的版本。
然后安装rails的时候,用命令提示符,进入Ruby的bin目录,然后运行下面的命令: > gem install rails --include-dependencies
之后报错:
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
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) (http://rubygems.org/gems/activemodel-4.0.0.gem)
谁能告诉我,这个是怎么回事吗?