Skip to content

Commit

Permalink
fix rake gems:install to respect versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tongueroo committed May 25, 2011
1 parent db40128 commit 0020d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -77,7 +77,7 @@ namespace :gems do


gems.each do |name| gems.each do |name|
name = name.to_s name = name.to_s
version = GemTemplate::Gems.versions[name] version = GemTemplate::Gems.versions[name.to_sym]
if Gem.source_index.find_name(name, version).empty? if Gem.source_index.find_name(name, version).empty?
version = version ? "-v #{version}" : '' version = version ? "-v #{version}" : ''
system "#{sudo} gem install #{name} #{version} #{docs}" system "#{sudo} gem install #{name} #{version} #{docs}"
Expand Down

0 comments on commit 0020d1b

Please sign in to comment.