开发者

How find out gem install options?

开发者 https://www.devze.com 2023-01-21 06:35 出处:网络
I\'m trying to install all my gems in ~/.gems. I wanted to install ferret as user but it doesn\'t work, because fer开发者_如何学JAVAret need to install in /usr/bin.

I'm trying to install all my gems in ~/.gems. I wanted to install ferret as user but it doesn't work, because fer开发者_如何学JAVAret need to install in /usr/bin. My question is, how to I find out which options (like install to different bin folder) exists, when I install gems?


The options you're mentioning are used by extconf.rb when the installation is being configured. Following steps would compile drivers that need to know where the system or API libraries are.

See Creating an Extension in the "Programming Ruby: The Pragmatic Programmer's Guide" book.


As shown below gem -h will show you all the options the gem command can process....

How find out gem install options?

0

精彩评论

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