我第一次玩rails并遇到宝石错误。如果我输入命令sudo ./gem install rmagick
,我会得到以下内容:
Building native extensions. This could take a while...
Successfully installed rmagick-2.12.2
1 gem installed
Installing ri documentation for rmagick-2.12.2...
Installing RDoc documentation for rmagick-2.12.2...
然后我得到:
No definition for Image_edge
No definition for Image_emboss
No definition for Image_encipher
No definition for Image_enhance
No definition for Image_equalize
No definition for Image_equalize_channel
No definition for Image_erase_bang
No definition for Image_excerpt
No definition for Image_excerpt_bang
No definition for Image_export_pixels
等等,约3页。我在/ home / me / Languages / ruby中安装了ruby,我猜这不是标准的,这可能是个问题吗?
答案 0 :(得分:2)
无需担心。这只是RDOC说它没有这些功能的文档。虽然如果它是任何调解,我安装了130个宝石,并且从未见过这么多rdoc错误。
除此之外,继续使用Rmagik它应该工作正常。 : - )
希望这有帮助!