RVM Atomic gem没有构建原生扩展。 RUBY PORT ERROR

时间:2014-01-05 14:06:11

标签: ruby-on-rails ruby rvm bundler atomic

我安装了RVM和Ruby 1.9.3,运行bundle install时出错。 原子宝石会导致错误,在此之前,它是nokogiri。请帮忙!

https://gist.github.com/karlcoelho/8268543

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /Users/karl/.rvm/rubies/ruby-1.9.3-p484/bin/ruby extconf.rb 
/Users/karl/.rvm/rubies/ruby-1.9.3-p484/bin/ruby: invalid switch in RUBYOPT: -F (RuntimeError)

extconf failed, exit code 1

/Users/karl/.rvm/rubies/ruby-1.9.3-p484/bin/ruby extconf.rb /Users/karl/.rvm/rubies/ruby-1.9.3-p484/bin/ruby: invalid switch in RUBYOPT: -F (RuntimeError) extconf failed, exit code 1

1 个答案:

答案 0 :(得分:3)

使用没有空格的路径 - 看起来捆绑器与空间混淆。