Rakefile in 3scale_client-2.2.7 vs Rakefile in 3scale_client-2.2.8
- old
+ new
@@ -1,18 +1,19 @@
# encoding: utf-8
+require "rubygems"
+require "bundler/setup"
require 'rake'
require 'rake/testtask'
-require 'rake/rdoctask'
+require 'rdoc/task'
desc 'Default: run unit tests.'
task :default => :test
desc 'Run unit tests.'
Rake::TestTask.new(:test) do |t|
t.pattern = 'test/**/*_test.rb'
t.verbose = true
- t.ruby_opts << '-rubygems'
end
desc 'Generate documentation.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'