Chinaunix首页 | 论坛 | 博客
  • 博客访问: 469161
  • 博文数量: 117
  • 博客积分: 3195
  • 博客等级: 中校
  • 技术积分: 1156
  • 用 户 组: 普通用户
  • 注册时间: 2009-08-04 01:44
文章分类

全部博文(117)

文章存档

2012年(5)

2011年(5)

2010年(46)

2009年(61)

我的朋友

分类: Python/Ruby

2012-08-09 23:23:55

ERROR:  While executing gem ... (Gem::RemoteSourceException)
    HTTP Response 302

据说这是因为gem版本太低了

D:\ruby>gem -v
0.9.4

可是升级还是这样子
D:\ruby>gem update --system
Updating RubyGems...
ERROR:  While executing gem ... (Gem::RemoteSourceException)
    HTTP Response 302

D:\ruby>gem update --system --source
Updating RubyGems...
Need to update 1 gems from
.
complete
Attempting remote update of rubygems-update
Successfully installed rubygems-update-1.3.6
。。。。。

升级成功~!
本以为可以成功install prawn了,没想到ruby本身版本太低,pdf/reader无法安装。。
 于是又来这里找了个最新版的ruby安上。
走了这么多弯路,没想到一个最新版的ruby把一切都搞定了。



阅读(2701) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~