diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-02-01 20:12:36 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-02-01 20:12:36 +0000 |
commit | aa7859c9768f4447b4f67808b2c92f4d0cb48cb2 (patch) | |
tree | cf6e5dda7dac0704739d0b5fd14b7ac99e3e307b /railties/lib/rails_generator/lookup.rb | |
parent | 593b1b837d24e61ea8f5386d66669585f3c14d5a (diff) | |
download | rails-aa7859c9768f4447b4f67808b2c92f4d0cb48cb2.tar.gz rails-aa7859c9768f4447b4f67808b2c92f4d0cb48cb2.tar.bz2 rails-aa7859c9768f4447b4f67808b2c92f4d0cb48cb2.zip |
Plugins may be symlinked in vendor/plugins. Closes #4245.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/lookup.rb')
-rw-r--r-- | railties/lib/rails_generator/lookup.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/lookup.rb b/railties/lib/rails_generator/lookup.rb index 06f1a9eb1b..9446353013 100644 --- a/railties/lib/rails_generator/lookup.rb +++ b/railties/lib/rails_generator/lookup.rb @@ -100,7 +100,7 @@ module Rails if defined? ::RAILS_ROOT sources << PathSource.new(:lib, "#{::RAILS_ROOT}/lib/generators") sources << PathSource.new(:vendor, "#{::RAILS_ROOT}/vendor/generators") - sources << PathSource.new(:plugins, "#{::RAILS_ROOT}/vendor/plugins/**/generators") + sources << PathSource.new(:plugins, "#{::RAILS_ROOT}/vendor/plugins/*/**/generators") end sources << PathSource.new(:user, "#{Dir.user_home}/.rails/generators") sources << GemSource.new if Object.const_defined?(:Gem) |