根据
this post,要求ruby是一个反模式.
require 'rubygems'
这个说法似乎归结为:
When I use your library,deploy your
app,or run your tests I may not want
to use rubygems. When you require
‘rubygems’ in your code,you remove my
ability to make that decision. I
cannot unrequire rubygems,but you can
not require it in the first place.
但是,当您与其他人创建和共享代码库时,您对“任何需要”的任何Ruby库都可以做出相同的争论?