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.

This project is archived and is in readonly mode.

Quoted gems dependencies version string

#457

using rake gems:unpack:dependencies returns the following error: "Illformed requirement ["\"xxxxx\""]". i'm using winxp with cygwin and rails-2.1. this error occurs in the gem_dependency.rb file in the 113 and 120 lines ("cmd << "--version" << %("#{@requirement.to_s}") if @requirement"). is it so necessary to use %() there?

thanks,

luckyhackee

Reported by ronin-24020 (at lighthouseapp) · June 20th, 2008 @ 12:57 PM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Chris Lloyd
    Chris Lloyd
    • Tag set to actionpack, dependencies, rake

    @luckyhackee, the $() escapes the double quotes surrounding the requirement. I.e. %(this "is awesome") turns into "this "is awesome "".

    Could you please list what gems you were requiring? I'm having trouble repeating this.

    August 30th, 2008 @ 01:03 AM

  2. Florian Aßmann
    Florian Aßmann

    Ruby 1.8.6-114 Rails 2.1.1 RubyGems 1.2.0

    I removed the quotes and it worked, see the patch.

    September 8th, 2008 @ 09:26 AM

  3. Morgan Roderick
    Morgan Roderick

    This seems to have been fixed in 2.1.2.

    Don't know if Florians patch was used or not, but the issue seems to be gone from 2.1.2.

    November 6th, 2008 @ 08:55 AM

  4. DHH
    DHH
    • State changed from new to resolved

    November 6th, 2008 @ 12:03 PM