我把ruby升级到了1.9.3,现在我的服务器启动不起来了。当我运行bundle install时,它显示
An error occurred while installing libv8 (3.11.8.17), and Bundler cannot continue.
Make sure that `gem install libv8 -v '3.11.8.17'` succeeds before bundling.当我尝试安装这个gem时,它显示
ERROR: Error installing libv8:
ERROR: Failed to build gem native extension.
/Users/Erica/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
creating Makefile
Compiling v8 for x64
Using python 2.7.1
Unable to find a compiler officially supported by v8.
It is recommended to use GCC v4.4 or higher
Using compiler: g++
Unable to find a compiler officially supported by v8.
It is recommended to use GCC v4.4 or higher我是一个HTML/CSS程序员,不是一个真正的Ruby开发人员,所以任何想法都是非常感谢的。
发布于 2014-11-25 13:04:11
我使用以下命令解决了这个问题:
gem install libv8 -v 3.11.8.17 -- --with-system-v8
它在Mavericks上与RVM一起工作。
发布于 2013-10-31 03:02:08
尝试在自制软件中重新安装v8:
gem uninstall libv8
brew install v8
gem install libv8发布于 2015-03-05 21:47:26
执行以下操作:
gem install rmagick -v '2.13.2'
gem install libv8 -v 3.11.8.17 -- --with-system-v8https://stackoverflow.com/questions/18645859
复制相似问题