Description: Remove call to rubygems and path manipulation to load yard
 Remove also the use of bundler
 This is not necessary because gem2deb took care of everything already.
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2013-05-07

--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,15 +1,4 @@
-require "rubygems"
-begin
-  require "rspec"
-rescue LoadError
-  require "spec"
-end
-
-begin
-  require 'bundler'
-  Bundler.setup
-rescue LoadError
-end
+require "rspec"
 
 begin
   require 'simplecov'
@@ -24,7 +13,7 @@
 rescue LoadError
 end if ENV['COVERAGE']
 
-require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'yard'))
+require "yard"
 
 unless defined?(HAVE_RIPPER)
   begin require 'ripper'; rescue LoadError; end
