This project is archived and is in readonly mode.
Quoted gems dependencies version string
Reported by ronin-24020 (at lighthouseapp) | June 20th, 2008 @ 12:57 PM
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
Comments and changes to this ticket
-
Chris Lloyd August 30th, 2008 @ 01:03 AM
- 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.
-
Florian Aßmann September 8th, 2008 @ 09:26 AM
Ruby 1.8.6-114 Rails 2.1.1 RubyGems 1.2.0
I removed the quotes and it worked, see the patch.
-
Morgan Roderick November 6th, 2008 @ 08:55 AM
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.
-
DHH November 6th, 2008 @ 12:03 PM
- State changed from new to resolved
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>