Add version to thor frozen gem.
This commit is contained in:
parent
925c9104e0
commit
e96af1eaa2
|
@ -178,7 +178,7 @@ module Rails
|
|||
# Return all defined namespaces.
|
||||
#
|
||||
def self.namespaces
|
||||
Thor::Base.subclasses.map(&:namespace)
|
||||
Thor::Base.subclasses.map{ |klass| klass.namespace }
|
||||
end
|
||||
|
||||
# Keep builtin generators in an Array[Array[group, name]].
|
||||
|
|
|
@ -3,7 +3,7 @@ begin
|
|||
require 'rubygems'
|
||||
gem 'thor', '>= 0.11.0'
|
||||
rescue Gem::LoadError
|
||||
$:.unshift "#{File.dirname(__FILE__)}/thor/lib"
|
||||
$:.unshift "#{File.dirname(__FILE__)}/thor-0.11.0/lib"
|
||||
end
|
||||
|
||||
require 'thor'
|
||||
|
|
Loading…
Reference in New Issue