diff options
-rw-r--r-- | railties/guides/rails_guides/generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/rails_guides/generator.rb b/railties/guides/rails_guides/generator.rb index 6a41bde9f6..b931dd6c28 100644 --- a/railties/guides/rails_guides/generator.rb +++ b/railties/guides/rails_guides/generator.rb @@ -11,7 +11,7 @@ module RailsGuides unless ENV["ONLY"] FileUtils.rm_r(@output) if File.directory?(@output) - FileUtils.mkdir(@output) + FileUtils.mkdir_p(@output) end @view_path = File.join(@guides_dir, "source") |