lib/quality/rake/task.rb in quality-13.0.0 vs lib/quality/rake/task.rb in quality-14.0.0
- old
+ new
@@ -1,6 +1,19 @@
#!/usr/bin/env ruby
+# XXX: There's an underlying issue with bundler, and knowing my luck,
+# probably RVM that is causing confusion on which version of rake is
+# being pulled in in this situation. Similar issues from the past:
+#
+# http://stackoverflow.com/questions/6085610/
+# ruby-on-rails-and-rake-problems-uninitialized-constant-rakedsl
+module Rake
+ # Define this in advance so that confused requires succeed
+ module DSL
+ end
+ class Task
+ end
+end
require 'rake'
require 'rake/tasklib'
require 'rbconfig'
require_relative '../runner'
require_relative '../quality_checker'