Skip to content

Commit

Permalink
Added stress:gems rake task.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Oct 17, 2011
1 parent 0d22f18 commit 9141485
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions rakelib/stress.rake
@@ -0,0 +1,25 @@
namespace :stress do
STRESS_ITERATIONS = (ENV["STRESS_ITERATIONS"] || 10).to_i

desc "Stress test installing a list of popular gems"
task :gems do
gems = %w[
amqp
bundler
chef
json
puppet
rails
rspec
rspec
unicorn
yajl-ruby
]

STRESS_ITERATIONS.times do
gems.each do |gem|
sh "bin/rbx -S gem install #{gem}"
end
end
end
end

0 comments on commit 9141485

Please sign in to comment.