新手问题 veewee 安装问题

ben · 2013年03月03日 · 最后由 lgn21st 回复于 2013年03月03日 · 2515 次阅读

按照官网上的第二种方式安装:

>bundle install   

Updating http://github.com/hh/em-winrm.git   
Fetching gem metadata from http://rubygems.org/.........    
Fetching gem metadata from http://rubygems.org/..    
Resolving dependencies...   
Using rake (10.0.3)    

NoMethodError: undefined method size for nil:NilClass    
An error occurred while installing libxml-ruby (2.6.0), and Bundler cannot continue.                                   
Make sure that gem install libxml-ruby -v '2.6.0' succeeds before bundling.   

>gem install libxml-ruby -v '2.6.0'    

ERROR: While executing gem ... (NoMethodError)    
undefined method 'size' for nil:NilClass

代码行

代码块

的格式不同,帮你修改了

安装 requirements 文档有说明,你需要通过 brew 安装依赖包,才能安装。

Development Libraries

In order to build native rubygems you may need these packages:

libxslt1-dev libxml2-dev zlib1g-dev

需要 登录 后方可回复, 如果你还没有账号请 注册新账号