remove unnecessary require

`require 'rubygems'` is already required in Ruby 1.9 or later.
This commit is contained in:
yuuji.yaginuma 2015-10-04 07:24:21 +09:00
parent e9abfe1134
commit e26f83e1c2
3 changed files with 0 additions and 3 deletions

View file

@ -1,4 +1,3 @@
require 'rubygems' unless defined?(Gem)
require 'rake' require 'rake'
require File.expand_path('../middleman-core/lib/middleman-core/version.rb', __FILE__) require File.expand_path('../middleman-core/lib/middleman-core/version.rb', __FILE__)

View file

@ -1,4 +1,3 @@
require 'rubygems' unless defined?(Gem)
require 'rake' require 'rake'
require 'yard' require 'yard'

View file

@ -1,5 +1,4 @@
# coding:utf-8 # coding:utf-8
RAKE_ROOT = __FILE__ RAKE_ROOT = __FILE__
GEM_NAME = ENV['NAME'] || 'middleman-core' GEM_NAME = ENV['NAME'] || 'middleman-core'
require 'rubygems'
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper') require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')