mac 10.9 install cocoapods issue
来源:互联网 发布:mssql数据库日志截断 编辑:程序博客网 时间:2024/05/17 06:30
If you've installed the OS X Mavericks Beta and you're having ruby issues like this:
/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.rbmkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.hGem 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/usrsdk_rb_usr=`xcode-select -p`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usrsudo 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 issue
- install cocoapods
- cocoapods install
- CocoaPods install
- Windows 2003 Install issue
- Hexo git blog install issue
- cocoapods-install-usage
- Cocoapods pod install
- Install Cocoapods 安装教程
- CocoaPods pod install
- mac 下装cocoapods时遇到的问题:please install libyaml and reinstall your ruby
- issue: osCommerce install stuck on page 2
- 11g R2 clusterware install issue
- INSTALL OPENERP 7.0 ISSUE on CENTOS
- CocoaPods: Pod update/install 出错
- cocoapods pod install 卡死
- cocoapods pod install 没有xcworkspace
- 关于php中include和require之间区别的一个常见误解
- 初识Flexbox 布局
- 5个最流行的跨平台开发工具
- 好东西
- java MD5码加密
- mac 10.9 install cocoapods issue
- 编译小结(2) GCC常见用法及技巧
- 编译小结(3) 动态库(.so)编译及二种调用技巧
- MYSQL 优化数据库结构
- 为 SELECT.options 对象增加或删除选项的方法在各浏览器中的支持情况不同
- 破解Oracle ERP密码
- 编译directshow若干问题的解决
- paip.语义相关是否可在 哈米 的语义分析中应用
- 数据的游戏:冰与火