Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Option to Print only Outdated or Missing Gems

#18

It would be nice if there was an option similar to --print-rogue-gems which printed only the missing/outdated gems for your project.

Reported by Matthew O'Connor · November 11th, 2008 @ 10:36 AM

State: open
Milestone: 1.0 Release
Assigned to: Chad Woolley Chad Woolley

Activity

  1. Alf Mikula
    Alf Mikula

    I agree, this would be really nice. Right now, I'm using script/runner under rails to run GemInstaller::autogem, and using that as a conditional in my shell script to determine whether to run geminstaller under sudo. It would be great to have a -n or --no-install or --check or something similar to do this.

    December 16th, 2008 @ 04:48 PM

  2. Jeff Whitmire
    Jeff Whitmire

    I have a patch for this. It's mostly untested but it works really fast since it's only checking against the local gems (no remoteness involved). I've been meaning to get it to Chad and will do so soon.

    January 23rd, 2009 @ 12:17 PM

  3. Jeff Whitmire
    Jeff Whitmire

    I'm not sure this exactly fits the request here, but I finally got around to redoing my patch with some test coverage this time. It adds a -o option that acts much like the print-rogue-gems option. It will simply list any local gems you have installed that are newer than the ones specified in the config file.

    It will honor the specification and only print gems that do not fit. If you have version >= 1.0.0 for a gem, it will not list a 2.0 gem as outdated in that case, but if the version specification is an exact match it will.

    February 4th, 2009 @ 06:21 PM

  4. Chad Woolley
    Chad Woolley
    • Milestone set to 1.0 Release
    • State changed from new to open

    February 16th, 2009 @ 03:10 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.