Rakefile in resque-1.6.1 vs Rakefile in resque-1.7.0
- old
+ new
@@ -5,9 +5,14 @@
task :default => :test
desc "Run tests"
task :test do
+ begin
+ require 'redgreen'
+ rescue LoadError
+ end
+
# Don't use the rake/testtask because it loads a new
# Ruby interpreter - we want to run tests with the current
# `rake` so our library manager still works
Dir['test/*_test.rb'].each do |f|
require f