Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby-on-rails-4/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 4 无法安装rmagick gem_Ruby On Rails 4_Rmagick - Fatal编程技术网

Ruby on rails 4 无法安装rmagick gem

Ruby on rails 4 无法安装rmagick gem,ruby-on-rails-4,rmagick,Ruby On Rails 4,Rmagick,运行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 ins

运行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.
然后我运行了“sudogem安装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安装时,我得到了与第一次尝试相同的输出,有什么建议吗(

也许您需要更新您的rdoc:

gem update rdoc
然后再次尝试安装rmagick

或者如果您不想重新安装

gem rdoc --all --overwrite

您使用的是什么操作系统?