Skip to content

Commit

Permalink
remove rubygem requires
Browse files Browse the repository at this point in the history
  • Loading branch information
quix committed Oct 19, 2009
1 parent b58007f commit acb9e3e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
7 changes: 1 addition & 6 deletions 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")

Expand Down
1 change: 0 additions & 1 deletion 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"
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit acb9e3e

Please sign in to comment.