耙奇怪的行为
我已经在 Debian 5 / Ruby1.9 机器上安装了 'rake' rubygems 并收到以下错误消息:
> rake --version
gem_prelude.rb:114:in `push_gem_version_on_load_path': undefined method `<=>' for nil:NilClass (NoMethodError)
from gem_prelude.rb:8:in `gem'
from /usr/bin/rake:18:in `<main>'
知道这个问题的根本原因吗?
I have installed the 'rake' rubygems on my Debian 5 / Ruby1.9 box and got the following error message:
> rake --version
gem_prelude.rb:114:in `push_gem_version_on_load_path': undefined method `<=>' for nil:NilClass (NoMethodError)
from gem_prelude.rb:8:in `gem'
from /usr/bin/rake:18:in `<main>'
Any idea of the root cause of this problem ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在这里找到答案...似乎是 ruby 190 的错误...
http://singalong.posterous.com/rubygems-path-bug-with-ruby-190
I find the answer here... Seems to be a bug with ruby 190...
http://singalong.posterous.com/rubygems-path-bug-with-ruby-190