gem update --system返回"没有将nil隐式转换为String"

Han*_*sul 7 ruby rubygems

运行gem update --system会一直返回错误

# gem update --system
    Updating rubygems-update
    ERROR:  While executing gem ... (TypeError)
    no implicit conversion of nil into String
Run Code Online (Sandbox Code Playgroud)

怎么解决?
详细:http://pastebin.com/2uBYEMTi

小智 1

这可能是由于 gem 版本不兼容(也许 gem 正在进行 Monkey 修补?)。您可以尝试更新单个 gem 吗?