diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-09-24 18:45:53 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-09-24 18:46:45 +0200 |
commit | a78ec93036644c41f936128a2b6d52f3136ad64c (patch) | |
tree | 1743d5f71049e112f0a5643b3955e9f9dc6cde47 /railties/lib | |
parent | 025736de8eb3a4be1514f10123ce1569fa2d5427 (diff) | |
download | rails-a78ec93036644c41f936128a2b6d52f3136ad64c.tar.gz rails-a78ec93036644c41f936128a2b6d52f3136ad64c.tar.bz2 rails-a78ec93036644c41f936128a2b6d52f3136ad64c.zip |
Partially revert 185fe2e9cce737d69d3b47a656f3651ce152c0c1
We shouldn't quote the unpack command's requirement as it's passed through GemRunner which takes care of it for us.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/gem_dependency.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/lib/rails/gem_dependency.rb b/railties/lib/rails/gem_dependency.rb index 471e03fa5f..d58ae450eb 100644 --- a/railties/lib/rails/gem_dependency.rb +++ b/railties/lib/rails/gem_dependency.rb @@ -120,7 +120,9 @@ module Rails def unpack_command cmd = %w(unpack) << @name - cmd << "--version" << %("#{@requirement.to_s}") if @requirement + # We don't quote this requirement as it's run through GemRunner instead + # of shelling out to gem + cmd << "--version" << @requirement.to_s if @requirement cmd end end |