Skip to content
This repository
Browse code

remove rubygem requires

  • Loading branch information...
commit acb9e3e2e8e754d2d0562a8e2c9b633828e9fd05 1 parent b58007f
James M. Lawrence authored October 19, 2009
7  rakelib/depgraph.rake
... ...
@@ -1,11 +1,6 @@
1 1
 
2 2
 task :depgraph, :root do |t, args|
3  
-  begin
4  
-    require 'graphviz'
5  
-  rescue LoadError
6  
-    require 'rubygems'
7  
-    require 'graphviz'
8  
-  end
  3
+  require 'graphviz'
9 4
 
10 5
   GraphViz.options(:use => "dot")
11 6
 
1  spec/reverse_range_spec.rb
... ...
@@ -1,7 +1,6 @@
1 1
 $LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib"
2 2
 
3 3
 require "quix/reverse_range"
4  
-require "rubygems"
5 4
 require "spec/autorun"
6 5
 
7 6
 if RUBY_VERSION < "1.8.7"
2  test/quix_test_base.rb
... ...
@@ -1,8 +1,8 @@
1 1
 $LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
  2
+$LOAD_PATH.unshift File.dirname(__FILE__) + '/../devel'
2 3
 
3 4
 require "fileutils"
4 5
 require "test/unit"
5  
-require "rubygems"
6 6
 require "rake"
7 7
 
8 8
 RakeFileUtils.verbose_flag = false

0 notes on commit acb9e3e

Please sign in to comment.
Something went wrong with that request. Please try again.