"gem create" command to generate skeleton gem files

Jeremy Olliver's Avatar

Jeremy Olliver

13 Mar, 2011 08:02 AM

Been really loving how easy it is to get publishing gems these days using "gem build" and "gem push". While I know there are existing third party gems such as jeweller for setting this up, I'd really love to see a "gem create" command create a skeleton directory with the bare bones (and maybe a little bit of current best practice) of setting up a new gem.

I'd be willing to contribute to this, so pointers for where to start looking/writing or others thoughts on this feature would be appreciated.

  1. Support Staff 2 Posted by Eric Hodel on 15 Mar, 2011 11:26 PM

    Eric Hodel's Avatar

    It is better to leave this functionality out of RubyGems as it allows for innovation by the community.

    PS: Hoe is currently the best way to author gems as it uses a library allowing gem authors to instantly upgrade their development environment for all their gems. Jeweler generates files instead forcing authors to manually upgrade each gem they develop.

  2. Eric Hodel closed this discussion on 15 Mar, 2011 11:26 PM.

  3. Jeremy Olliver re-opened this discussion on 16 Mar, 2011 10:01 PM

  4. 3 Posted by Jeremy Olliver on 16 Mar, 2011 10:01 PM

    Jeremy Olliver's Avatar

    Thanks for the reply Eric, I can see the logic there. I'll give Hoe a try
    next time I'm creating a gem.

    On 16 March 2011 12:26, Eric Hodel <
    [email blocked]> wrote:

  5. Support Staff 4 Posted by Nick Quaranto on 17 Mar, 2011 04:13 PM

    Nick Quaranto's Avatar

    Given this is still open, there are other options:

    bundler has bundle gem command: http://asciicasts.com/episodes/245-new-gem-with-bundler
    jeweler is nice too: http://railscasts.com/episodes/183-gemcutter-jeweler

  6. Nick Quaranto closed this discussion on 17 Mar, 2011 04:13 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

29 Aug, 2014 06:23 PM
28 Aug, 2014 07:18 PM
27 Aug, 2014 12:03 PM
26 Aug, 2014 07:09 PM
26 Aug, 2014 07:07 PM