开发者

Ruby Gem or Rails plugin

I am writing a gem that requires rails as a dependency (for using Rails methods like underscore, camelize and others).

Is 'gem' still a gem or is it now somet开发者_开发技巧hing else (Rails Plugin?) since I have rails as a dependency?


You don't have to depend on Rails as a whole (in fact if it really is a standalone gem, I would recommend that you do not) you can depend on just the parts of it that provide the functionality you need, in this case you are talking about ActiveSupport.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜