Rakefile in pdfmonkey-0.4.0 vs Rakefile in pdfmonkey-0.5.0

- old
+ new

@@ -1,6 +1,20 @@ -require 'bundler/gem_tasks' +require 'rubygems' + +begin + require 'bundler/setup' +rescue LoadError + puts 'You must `gem install bundler` and `bundle install` to run rake tasks' +end + +require 'bundler' +Bundler::GemHelper.install_tasks + +require 'rake' require 'rspec/core/rake_task' -RSpec::Core::RakeTask.new(:spec) +desc "Run all examples" +RSpec::Core::RakeTask.new(:spec) do |t| + t.rspec_opts = %w[--color --require spec_helper] +end task default: :spec