当我运行bundle install命令时,我收到以下错误:
Errno::EACCES: Permission denied - /Users/delisdeli/.rvm/gems/ruby-2.0.0-p247/gems/rmagick-2.13.2/build_tarball.rake
An error occurred while installing rmagick (2.13.2), and Bundler cannot continue.
Make sure that `gem install rmagick -v '2.13.2'` succeeds before bundling.
然后我运行了“sudo gem install rmagick -v'2.13.2'”并获得以下内容:
构建原生扩展。这可能需要一段时间......
Successfully installed rmagick-2.13.2
Parsing documentation for rmagick-2.13.2
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/RMagick2.bundle, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/rmagick.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/rmdraw.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/rmenum.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/rmfill.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/rmilist.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/rmimage.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/rminfo.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/rmmain.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/rmmontage.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/rmpixel.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/rmstruct.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/RMagick/rmutil.o, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for lib/RMagick2.bundle, skipping
1 gem installed
然而,当我再次运行bundle install时,我得到与第一次尝试相同的输出,任何建议? :(
答案 0 :(得分:1)
也许你需要更新你的rdoc:
gem update rdoc
然后再次尝试安装rmagick。
或者如果您不想重新安装。
gem rdoc --all --overwrite