For heaven’s sake, please just install hoe!

This is why people get annoyed about the silly gem install dependency mess (esp WRT hoe):

$ gem install heckle
Need to update 31 gems from http://gems.rubyforge.org   # fair enough, you're allowed
...............................
complete
Install required dependency ruby2ruby? [Yn]  Y    # Yeah, I know you need these
Install required dependency ParseTree? [Yn]  Y     # oh, and this one too
Select which gem to install for your platform (i686-linux)
 1. ParseTree 2.1.1 (ruby)                                   # yeah, just a vanilla ruby here
 2. ParseTree 2.1.1 (i386-mswin32)
 3. ParseTree 2.1.0 (ruby)
 4. ParseTree 2.0.2 (ruby)
 5. Skip this gem
 6. Cancel installation
> 1
Install required dependency RubyInline? [Yn]  Y   # This is also needed, I gather
Install required dependency hoe? [Yn]  Y             # Ha, hoe again, OK
Install required dependency rubyforge? [Yn] Y     # Don't care, don't understand why both
Install required dependency rake? [Yn]  Y            # There's no rake on this box, really?
Install required dependency hoe? [Yn]  Y             # WTF, yeah, I just said that
Install required dependency hoe? [Yn]  Y             # .. now you're just fucking with me
Install required dependency ZenTest? [Yn] Y        # Huh? I like ZenTest, but there's no reason...
Install required dependency hoe? [Yn]  Y             # **** YOU, hoe!
Successfully installed heckle-1.4.1
Successfully installed ruby2ruby-1.1.8
....

The fourth time it asked me, it decided to trust me and actually starting installing the gems….

2 Responses to “For heaven’s sake, please just install hoe!”

  1. Keith says:

    Ha, just noticed this jewel in the output:

    Successfully installed heckle-1.4.1
    Successfully installed ruby2ruby-1.1.8
    Successfully installed ParseTree-2.1.1
    Successfully installed RubyInline-3.6.6
    Successfully installed hoe-1.5.0
    Successfully installed rubyforge-0.4.4
    Successfully installed rake-0.8.1
    Successfully installed hoe-1.5.0
    Successfully installed hoe-1.5.0
    Successfully installed ZenTest-3.9.1
    Successfully installed hoe-1.5.0

    Good thing it installed it a few times for me…

  2. The -y option (also known as --include-dependencies) to gem install makes things a little more bearable.

    P.S. Comment preview would be nice. D.S.