remove unnecessary require
`require 'rubygems'` is already required in Ruby 1.9 or later.
This commit is contained in:
parent
e9abfe1134
commit
e26f83e1c2
1
Rakefile
1
Rakefile
|
@ -1,4 +1,3 @@
|
|||
require 'rubygems' unless defined?(Gem)
|
||||
require 'rake'
|
||||
|
||||
require File.expand_path('../middleman-core/lib/middleman-core/version.rb', __FILE__)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'rubygems' unless defined?(Gem)
|
||||
require 'rake'
|
||||
require 'yard'
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue