开发者

RI doc error installing Rails with RVM on Snow Leopard

开发者 https://www.devze.com 2023-02-04 19:22 出处:网络
Installing Rails with RVM on Snow Leopard turned up this error during the installation of the RI docs:

Installing Rails with RVM on Snow Leopard turned up this error during the installation of the RI docs:

ERROR: While executing gem ... (NoMeth开发者_运维问答odError)

undefined methodcoverage_level=' for nil:NilClass

This occurred after installing the RI docs for railties-3.0.3.

I've done a search and didn't find anything similar. This is error isn't, perhaps, the end of the world, but I'd like to see if anyone has any ideas. Any help would be appreciated.

I'm using Ruby 1.9.2-p136 and RVM 1.2.0 on Mac OS 10.6.5. All of the Rails gems, besides the documentation, seemed, so far, to install fine.


It was throwing the error during the documentation install for the gems. Using after the error => gem install --no-rdoc --no-ri rails Gave message => Successfully installed rails-3.0.3


I get similar errors while installing other gems. Installing the newest rdoc gem helps sometimes, but not always.


I was getting the same error, although with different gems installed.

I tried to delete the gemset that was throwing the error and the confirmation message indicated asked if I wanted to delete another gemset. I deleted both gemsets and recreated them from scratch and I haven't see the error since.

In my case it looks like a problem with a duplicated gemset (rvm gemset copy source_gemset destination_gemset) was the problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消