Skip to content
Browse files

remove rubygem requires

  • Loading branch information...
1 parent b58007f commit acb9e3e2e8e754d2d0562a8e2c9b633828e9fd05 @quix committed
Showing with 2 additions and 8 deletions.
  1. +1 −6 rakelib/depgraph.rake
  2. +0 −1 spec/reverse_range_spec.rb
  3. +1 −1 test/quix_test_base.rb
View
7 rakelib/depgraph.rake
@@ -1,11 +1,6 @@
task :depgraph, :root do |t, args|
- begin
- require 'graphviz'
- rescue LoadError
- require 'rubygems'
- require 'graphviz'
- end
+ require 'graphviz'
GraphViz.options(:use => "dot")
View
1 spec/reverse_range_spec.rb
@@ -1,7 +1,6 @@
$LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib"
require "quix/reverse_range"
-require "rubygems"
require "spec/autorun"
if RUBY_VERSION < "1.8.7"
View
2 test/quix_test_base.rb
@@ -1,8 +1,8 @@
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
+$LOAD_PATH.unshift File.dirname(__FILE__) + '/../devel'
require "fileutils"
require "test/unit"
-require "rubygems"
require "rake"
RakeFileUtils.verbose_flag = false

0 comments on commit acb9e3e

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