Rakefile in sinatra-2.0.3 vs Rakefile in sinatra-2.0.4

- old
+ new

@@ -28,21 +28,21 @@ ENV.delete 'LC_CTYPE' end Rake::TestTask.new(:test) do |t| t.test_files = FileList['test/*_test.rb'] - t.ruby_opts = ['-rubygems'] if defined? Gem + t.ruby_opts = ['-r rubygems'] if defined? Gem t.ruby_opts << '-I.' t.warning = true end Rake::TestTask.new(:"test:core") do |t| core_tests = %w[base delegator encoding extensions filter helpers mapped_error middleware radius rdoc readme request response result route_added_hook routing server settings sinatra static templates] t.test_files = core_tests.map {|n| "test/#{n}_test.rb"} - t.ruby_opts = ["-rubygems"] if defined? Gem + t.ruby_opts = ["-r rubygems"] if defined? Gem t.ruby_opts << "-I." t.warning = true end # Rcov ================================================================