相关疑难解决方法(0)

安装 Nokogiri 时 GCC 编译错误

我正在尝试运行,bundle install但在尝试安装 Nokogiri 1.10.3 时出现错误

这是来自 的错误消息mkmf.log

gcc -o conftest -I/home/chille/.rvm/rubies/ruby-2.5.1/include/ruby-2.5.0/x86_64-linux -I/home/chille/.rvm/rubies/ruby-2.5.1/include/ruby-2$
gcc: error: unrecognized command line option '-Wmisleading-indentation'
gcc: error: unrecognized command line option '-Wimplicit-fallthrough=0'
gcc: error: unrecognized command line option '-Wduplicated-cond'
gcc: error: unrecognized command line option '-Wrestrict'
Run Code Online (Sandbox Code Playgroud)

ruby rubygems

10
推荐指数
1
解决办法
1602
查看次数

标签 统计

ruby ×1

rubygems ×1