当前位置: 首页 > 工具软件 > dryrun > 使用案例 >

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

苍宝
2023-12-01

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

 类似资料: