Ruby on rails 安装ruby racer时出错
我正在尝试安装ruby,但每次Ruby on rails 安装ruby racer时出错,ruby-on-rails,ruby,gem,bundle,therubyracer,Ruby On Rails,Ruby,Gem,Bundle,Therubyracer,我正在尝试安装ruby,但每次sudo捆绑包--在没有生产的情况下当涉及到RubyRacer时,安装都会崩溃: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb checking for main() in -lobjc..
sudo捆绑包--在没有生产的情况下
当涉及到RubyRacer时,安装都会崩溃:
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
checking for main() in -lobjc... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/therubyracer-0.9.10 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/therubyracer-0.9.10/ext/v8/gem_make.out
An error occurred while installing therubyracer (0.9.10), and Bundler cannot continue.
Make sure that `gem install therubyracer -v '0.9.10'` succeeds before bundling.
有什么办法可以让这一切顺利进行吗
谢谢尝试此$gem卸载libv8和$gem安装RubyRacer已经尝试过了,但是即使RubyRacer安装成功,我在运行“bundle”时也会收到错误消息