ruby ri工具不生效,提示Nothing known about, 如何解决?

funnyone 2015-07-11 07:04:26
ruby ri工具不生效,提示Nothing known about, 然后网上找下需要执行gem install rdoc-data,但是还是不行。


D:\books\ruby\my-code\c1>ri String
Nothing known about String

D:\books\ruby\my-code\c1>gem install rdoc-data
ERROR: Could not find a valid gem 'rdoc-data' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: A connection attempt failed because the connected party did not prope
rly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) (https://rubygems.org/
latest_specs.4.8.gz)
ERROR: Possible alternatives: rdoc-data
...全文
1804 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Chary_Gao 2015-10-06
  • 打赏
  • 举报
回复
Your ruby version 2.2.3 is not supported, only 1.8.7, 1.9.2, 1.9.3, 2.0.0,你是2.2.3版本吧?!

2,763

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Ruby/Rails
社区管理员
  • Ruby/Rails社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧