本文介绍了Ruby的所有/最佳宝石列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经离开了Ruby世界一段时间(3年),但我要回来参加一个项目。我现在被所有可用的宝石淹没了。是否有按流行/最佳宝石列出的宝石?所有宝石的当前列表在哪里?

解决方案

我不知道最好,但如果您想查看各种用途的常用宝石列表,我发现是一个很好的资源。排名是通过计算各种github项目的分支和观察者的数量来确定的,所以我不会将它看作这是我应该使用的,更多的是因为这些是我应该检查的一些东西。至少,它们都有可能处于积极的发展阶段,并且相当新,并且按类别划分的宝石组合很有用。

正如August指出的,要从特定来源获得所有宝石的列表,您可以使用 gem list --remote 。 Rubyforge(这是你的默认源代码)和github绝对是两个最常用的。

I've been out of the Ruby world for a while (3 years), but I'm coming back for a project. I am now overwhelmed by all the gems available. Is there a list of gems by popularity/best gems? And where is the current list of all the gems?

解决方案

I don't know about "best," but if you want to see a list of commonly used gems for various purposes, I've found The Ruby Toolbox to be a great resource. The rankings are determined by counting up the number of forks and watchers of various github projects, so I'd view it less as "this is what I should be using," and more as "these are some things I should check out." At the very least, they're all likely to be under active development and fairly up to date, and it's very useful to see groups of gems broken down by category.

To get a list of all gems from a particular source, you can use gem list --remote, as August points out. Rubyforge (which is your default source) and github are definitely the two most-used.

这篇关于Ruby的所有/最佳宝石列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 05:36