diff --git a/Rakefile b/Rakefile index 09806b6b..236a2d83 100644 --- a/Rakefile +++ b/Rakefile @@ -1,4 +1,3 @@ -require 'rubygems' unless defined?(Gem) require 'rake' require File.expand_path('../middleman-core/lib/middleman-core/version.rb', __FILE__) diff --git a/gem_rake_helper.rb b/gem_rake_helper.rb index 5dbbdd9a..ea46e6a7 100644 --- a/gem_rake_helper.rb +++ b/gem_rake_helper.rb @@ -1,4 +1,3 @@ -require 'rubygems' unless defined?(Gem) require 'rake' require 'yard' diff --git a/middleman-core/Rakefile b/middleman-core/Rakefile index c36c1d35..3efd63ea 100644 --- a/middleman-core/Rakefile +++ b/middleman-core/Rakefile @@ -1,5 +1,4 @@ # coding:utf-8 RAKE_ROOT = __FILE__ GEM_NAME = ENV['NAME'] || 'middleman-core' -require 'rubygems' require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')