Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix RAILS_ROOT deprecation on guides generation. [#3710 status:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
commit a0dc6cc70b694349a592b42ec3b58001ce82fec9 1 parent 44a10a2
@rizwanreza rizwanreza authored josevalim committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/tasks/documentation.rake
View
2  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

0 comments on commit a0dc6cc

Please sign in to comment.
Something went wrong with that request. Please try again.