• Has my gem built yet?

    defunkt 9 Oct 2008

    James Smith wants you to know if your gem has built yet.

    It’s open source, too. Thanks James!

  • Comments

    webmat Fri Oct 10 06:34:47 -0700 2008

    If you like to use globs to specify which files get included in your gem (which helps keep your gem generation code DRY), GitHub will not accept it in the form

    spec = Gem::Specification.new { |s| s.files = Dir['*.rb'] ...}

    because of the safe mode you can see in the script. However GitHub also supports YAML dumps.

    Here’s a modified test script that supports both the standard Ruby code and YAML dump formats:

    http://gist.github.com/16042

    webmat Fri Oct 10 08:29:40 -0700 2008

    That should have been “However GitHub also supports *.gemspec files as YAML dumps, even if their test script does not.”

    adamsanderson Fri Oct 10 09:40:32 -0700 2008

    Up there with http://isitchristmas.com :)

    grosser Sat Jan 24 01:05:03 -0800 2009

    great! finally my gem was published, am i missing the “build now”-button in the normal github interface ?

    Please log in to comment.