Skip to content

Commit

Permalink
removed ghetto rake freezer
Browse files Browse the repository at this point in the history
  • Loading branch information
auxesis committed Oct 12, 2009
1 parent 180722b commit 1f336b8
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions lib/generators/project/Rakefile
Expand Up @@ -16,22 +16,3 @@ rescue LoadError
end


desc "freeze deps"
task :deps do

deps = {'cucumber' => "~> 0.3.0",
'rspec' => "~> 1.2.4",
'webrat' => ">= 0.4.2",
'mechanize' => ">= 0.9.1"}

puts "\ninstalling dependencies. this will take a few minutes."

deps.each_pair do |dep, version|
if Dir.glob("gems/gems/#{dep}-#{version.split.last}").size > 0
next unless ENV["FORCE"]
end
puts "\ninstalling #{dep} (#{version})"
system("gem install #{dep} --version '#{version}' -i gems --no-rdoc --no-ri")
end

end

0 comments on commit 1f336b8

Please sign in to comment.