开发者

How do I use a project source package written in Ruby?

开发者 https://www.devze.com 2023-03-29 15:21 出处:网络
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\'

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 开发者_JAVA百科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.


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.


....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?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号