mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
moved generators to lib/generators
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
13fccff283
commit
cbbb036866
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
*SVN*
|
||||
|
||||
* Moved generator folder from RAILS_ROOT/generators to RAILS_ROOT/lib/generators [Tobias Luetke]
|
||||
|
||||
* Fix rake dev and related commands [Nicholas Seckar]
|
||||
|
||||
* The rails command tries to deduce your MySQL socket by running `mysql_config
|
||||
|
|
|
@ -98,7 +98,7 @@ module Rails
|
|||
# 4. Builtins. Model, controller, mailer, scaffold.
|
||||
def use_component_sources!
|
||||
reset_sources
|
||||
sources << PathSource.new(:app, "#{::RAILS_ROOT}/generators") if defined? ::RAILS_ROOT
|
||||
sources << PathSource.new(:app, "#{::RAILS_ROOT}/lib/generators") if defined? ::RAILS_ROOT
|
||||
sources << PathSource.new(:user, "#{Dir.user_home}/.rails/generators")
|
||||
sources << GemSource.new if Object.const_defined?(:Gem)
|
||||
sources << PathSource.new(:builtin, "#{File.dirname(__FILE__)}/generators/components")
|
||||
|
|
Loading…
Reference in a new issue