diff options
author | Rizwan Reza <rizwanreza@gmail.com> | 2010-01-16 21:48:24 +0330 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-17 16:28:31 +0100 |
commit | a0dc6cc70b694349a592b42ec3b58001ce82fec9 (patch) | |
tree | 0bc92ef9a16ba466b140e7f26e979e5a918a0e3c /railties/lib/rails/tasks/documentation.rake | |
parent | 44a10a2440640edae5a39a0be562093503dc7bb3 (diff) | |
download | rails-a0dc6cc70b694349a592b42ec3b58001ce82fec9.tar.gz rails-a0dc6cc70b694349a592b42ec3b58001ce82fec9.tar.bz2 rails-a0dc6cc70b694349a592b42ec3b58001ce82fec9.zip |
Fix RAILS_ROOT deprecation on guides generation. [#3710 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/lib/rails/tasks/documentation.rake')
-rw-r--r-- | railties/lib/rails/tasks/documentation.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/documentation.rake b/railties/lib/rails/tasks/documentation.rake index db1939c45f..65d0d476ba 100644 --- a/railties/lib/rails/tasks/documentation.rake +++ b/railties/lib/rails/tasks/documentation.rake @@ -55,7 +55,7 @@ namespace :doc do desc "Generate Rails guides" task :guides do require File.join(RAILTIES_PATH, "guides/rails_guides") - RailsGuides::Generator.new(File.join(RAILS_ROOT, "doc/guides")).generate + RailsGuides::Generator.new(Rails.root.join("doc/guides")).generate end namespace :plugins do |