开发者

Is there a way to print a message after a user installs a Ruby gem?

开发者 https://www.devze.com 2023-03-16 10:00 出处:网络
Is there a way to configure a gem\'s gemspec to print an important informational message right after someone downloads and installs the ge开发者_高级运维m using gem install?Yes, use post_install_messa

Is there a way to configure a gem's gemspec to print an important informational message right after someone downloads and installs the ge开发者_高级运维m using gem install?


Yes, use post_install_message in the gemspec (docs).

You can see how HTTParty does it in its gemspec.

0

精彩评论

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

关注公众号