More documentation cleanup
[arvados.git] / Rakefile
index cf1eea1879ced18d32f749ea69b6740ae538b1a2..12f2767570259af00ec6edc59221f7c59acc9292 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -5,15 +5,6 @@ $LOAD_PATH.uniq!
 require 'rubygems'
 require 'rake'
 
-gem 'rspec', '~> 1.2.9'
-begin
-  require 'spec/rake/spectask'
-rescue LoadError
-  STDERR.puts "Please install rspec:"
-  STDERR.puts "sudo gem install rspec"
-  exit(1)
-end
-
 require File.join(File.dirname(__FILE__), 'lib/google/api_client', 'version')
 
 PKG_DISPLAY_NAME   = 'Google API Client'
@@ -38,7 +29,7 @@ PKG_FILES = FileList[
     '[A-Z]*', 'Rakefile'
 ].exclude(/database\.yml/).exclude(/[_\.]git$/)
 
-RCOV_ENABLED = (RUBY_PLATFORM != 'java' && RUBY_VERSION =~ /^1\.8/)
+RCOV_ENABLED = !!(RUBY_PLATFORM != 'java' && RUBY_VERSION =~ /^1\.8/)
 if RCOV_ENABLED
   task :default => 'spec:rcov'
 else