使用dryrun直接运行github项目查看效果

sodu gem install dryrun


遇到的问题:

运行以上命令出现

Building nokogiri using packaged libraries.

-----

The file "/usr/include/iconv.h" is missing in your build environment,

which means you haven't installed Xcode Command Line Tools properly.


To install Command Line Tools, try running `xcode-select --install` on

terminal and follow the instructions.  If it fails, open Xcode.app,

select from the menu "Xcode" - "Open Developer Tool" - "More Developer

Tools" to open the developer site, download the installer for your OS

version and run it.

-----

*** extconf.rb failed ***

Could not create Makefile due to some reason, probably lack of necessary

libraries and/or headers.  Check the mkmf.log file for more details.  You may

need configuration options.

缺少本地拓展组件


根据上面的提示信息执行xcode-select --install后重试gem install 

出现一下内容说明安装成功

Building native extensions.  This could take a while...

Successfully installed nokogiri-1.6.6.4

Fetching: dryrun-0.5.1.gem (100%)

Successfully installed dryrun-0.5.1

Parsing documentation for nokogiri-1.6.6.4

unable to convert "\xCA" from ASCII-8BIT to UTF-8 for lib/nokogiri/nokogiri.bundle, skipping

Installing ri documentation for nokogiri-1.6.6.4

Parsing documentation for dryrun-0.5.1

Installing ri documentation for dryrun-0.5.1

2 gems installed


直接查看github项目效果:dryrun (git地址)

这个工具可以很方便的运行查看github上UI组件开源项目展现效果,以前总是要先git clone下来,然后在import project--》build --》 run


源码地址以及使用介绍:https://github.com/cesarferreira/dryrun

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值