mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Do not try to use thor gem.
This commit is contained in:
parent
33048b6e27
commit
178044dbd2
2 changed files with 1 additions and 10 deletions
|
@ -11,7 +11,7 @@ end
|
|||
|
||||
$:.unshift(File.dirname(__FILE__))
|
||||
|
||||
require 'vendor/thor'
|
||||
require 'vendor/thor-0.11.2/lib/thor'
|
||||
require 'generators/base'
|
||||
require 'generators/named_base'
|
||||
|
||||
|
|
9
railties/lib/vendor/thor.rb
vendored
9
railties/lib/vendor/thor.rb
vendored
|
@ -1,9 +0,0 @@
|
|||
begin
|
||||
# Prefer gems to the bundled libs.
|
||||
require 'rubygems'
|
||||
gem 'thor', '>= 0.11.2'
|
||||
rescue Gem::LoadError
|
||||
$:.unshift "#{File.dirname(__FILE__)}/thor-0.11.2/lib"
|
||||
end
|
||||
|
||||
require 'thor'
|
Loading…
Reference in a new issue