`gem install therubyracer` fails on Mac OS X Lion
2015-03-23 12:34
393 查看
gem install therubyracer -v ‘0.10.1’ 失败
报错如下:clang: error: no such file or directory: '/Users/XXX/.rvm/gems/ruby-1.9.2-p320/gems/libv8-3.3.10.4/lib/libv8/build/v8/libv8.a’
解决方式:
brew tap homebrew/dupes brew install apple-gcc42 export CC=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2 export CXX=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/g++-4.2 export CPP=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/cpp-4.2 brew uninstall v8 gem uninstall libv8 gem install therubyracer -v '0.10.2'
参考资料:
http://stackoverflow.com/questions/19630154/gem-install-therubyracer-v-0-10-2-on-osx-mavericks-not-installing
相关文章推荐
- iOS 如何在苹果电脑上安装svn 服务器(how to install svn server on the computer of mac os x)
- 在Mac OS X Lion上安装Ruby On Rails
- Install Ruby on Rails · Mac OS X Mavericks
- install wireless driver under ubuntu os on mac
- 179-Geolocation-with-MaxMind-s-GeoIP-and-the-geoip-city-RubyGemInstall
- How to enable the root user in Mac OS X Lion
- Install Nginx and PHP on OS X Mountain Lion (10.8)
- How to use/install gcc on Mac OS X 10.8 / Xcode 4.4
- Failed to Install MAC OS X on Lenovo K42
- Copy file or folder path to the clipboard in Mac OS X Lion
- AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Second Edition
- How to use libusb1.0 library to develop the application on Mac OS X
- 在Mac OS X上建立Ruby on Rails开发环境
- Mac OS X 10.4.8 下安装Ruby On Rails
- If the root.sh script fails on a node during the install of the Grid Infrastructure with Oracle Data
- ruby gem install mysql on unbuntu / windows / cygwin
- Install MAC OS X Snow Loepard On Lenovo B460
- gettext on Mac OS lion
- use ruby gem installl command need sudo apt-get install zlib1g-dev on ubuntu
- 升级Mac os X Mountian Lion 下 Ruby