简体   繁体   English

在Rails中,什么是本地宝石?

[英]In Rails, what are local gems?

What does it mean when rails refers to gems as being local? Rails将宝石称为本地宝石是什么意思? ie: when you type in the root of your app directory, gem list , the result is: 即:当您输入应用程序目录的根目录gem list ,结果为:

*** LOCAL GEMS ***

actioncable (5.0.1, 5.0.0.1, 5.0.0)
actionmailer (5.0.1, 5.0.0.1, 5.0.0)
...

Those would be gems installed on your computer. 这些将是您计算机上安装的宝石。 As opposed to the ones that are available from rubygems.org. 与rubygems.org上提供的相反。

It's not specific to Rails by the way, and can refer to any Ruby gem. 顺便说一下,它并不是特定于Rails的,可以引用任何Ruby gem。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM