Rakefile in serverspec-2.0.0.beta5 vs Rakefile in serverspec-2.0.0.beta6

- old
+ new

@@ -1,7 +1,12 @@ require "bundler/gem_tasks" -require "rspec/core/rake_task" -require "octorelease" +begin + require "rspec/core/rake_task" + require "octorelease" +rescue LoadError +end -RSpec::Core::RakeTask.new('spec') do |t| - t.pattern = 'spec/*/*_spec.rb' +if defined?(RSpec) + RSpec::Core::RakeTask.new('spec') do |t| + t.pattern = 'spec/*/*_spec.rb' + end end