1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add version to thor frozen gem.

This commit is contained in:
José Valim 2009-07-14 15:44:14 +02:00
parent 925c9104e0
commit e96af1eaa2
38 changed files with 2 additions and 2 deletions

View file

@ -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]].

View file

@ -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'