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.
精彩评论