如何使用Ruby编写的项目源码包?
我刚刚阅读了 Ruby 用户指南 http://www.rubyist.net/~ slagell/ruby/getstarted.html,我没有找到我要找的东西...即,如何使用我下载的 ruby 源?其中有一个 Makefile,我是否可以像其他源一样运行 GNU make -f ?
我想做的就是构建和使用 Whatweb (https://github.com/urbanadventurer/WhatWeb /wiki/Installation)来自其源包。
I have just read the Ruby User's Guide at http://www.rubyist.net/~slagell/ruby/getstarted.html, I didn't find what I was looking for... which is, How do I use ruby source which I downloaded? There's a Makefile in it, do I just run GNU make -f like for any other source?
All I am trying to do is build and use whatweb (https://github.com/urbanadventurer/WhatWeb/wiki/Installation) from its source package.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请务必阅读开发人员提供的自述文件。自述文件将指向 https://github.com/urbanadventurer/WhatWeb/wiki/Installation 描述安装过程。
在那里你发现你需要安装依赖项。如前所述,Ruby 是解释型的,不需要编译。
Please do read READMEs developers provide. The README will point to https://github.com/urbanadventurer/WhatWeb/wiki/Installation which describe the installation process.
There you find that you need to install dependencies. As already stated Ruby is interpreted and does not need to be compiled.
....如果我理解得很好,你不应该构建它(Ruby 是一种解释语言)。您只需运行如下脚本:
$ ./whatweblashdot.orgreddit.com
位于 Whatweb 文档中的“2. 示例用法”。
这是您需要的吗?
....If I understad it well, you shouldn't build it(Ruby is an interpreted language). You just run the script like:
$ ./whatweb slashdot.org reddit.com
at "2. Example Usage" from whatweb documentation..
Is that what you need?