mac 10.9 install cocoapods issue
2013-11-26 23:56
751 查看
If you've installed the OS X Mavericks Beta and you're having ruby issues like this:
or
You'll want to run this script (from https://gist.github.com/goshakkk/5763489):
Things moved around when you installed the beta so this fixes them up.
via (https://github.com/CocoaPods/CocoaPods/issues/1108)
The post Tip:
Ruby on OS X Mavericks appeared first on JeffreySambells.com
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in `report_activate_error': Could not find RubyGem jekyll (>= 0) (Gem::LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in `activate' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in `gem' from /usr/bin/jekyll:22
or
ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.6.0 for inspection. Results logged to /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.6.0/ext/xcodeproj/gem_make.out
You'll want to run this script (from https://gist.github.com/goshakkk/5763489):
sys_rb_usr=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr sdk_rb_usr=`xcode-select -p`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr sudo cp -r $sdk_rb_usr/include $sys_rb_usr/include
Things moved around when you installed the beta so this fixes them up.
via (https://github.com/CocoaPods/CocoaPods/issues/1108)
The post Tip:
Ruby on OS X Mavericks appeared first on JeffreySambells.com
相关文章推荐
- mac 10.9 install cocoapods issue
- mac 10.9 install cocoapods issue
- mac 下装cocoapods时遇到的问题:please install libyaml and reinstall your ruby
- CocoaPods pod install/pod update更新慢的问题
- CocoaPods pod install/pod update 特别慢
- 给自己Mac安装cocoapods
- Mac OS X 10.11安装cocoapods的修正篇
- CocoaPods pod install的时候报错:invalid byte sequence in UTF-8 (ArgumentError)解决办法
- IOS开发 CocoaPods 使用 pod Install 出现 Updating local specs repositories
- Mac电脑上配置cocoaPods环境(最新版)
- CocoaPods pod install/pod update更新慢的问题
- mac cocoaPods 安装及使用
- CocoaPods pod install/pod update更新慢
- CocoaPods pod install/pod update更新慢的问题
- Mac下CocoaPods的安装及使用(最新)
- CocoaPods pod install/pod update更新慢的问题
- sudo gem install cocoapods 没反应问题
- CocoaPods pod install/pod update更新慢的问题
- CocoaPods问题: CocoaPods was not able to update the `master` repo.if it is a unexpected issue and
- MAC 安装cocoapods 遇到问题