mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix RAILS_ROOT deprecation on guides generation. [#3710 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
parent
44a10a2440
commit
a0dc6cc70b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue