We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c7e4c5 commit 6be0b7fCopy full SHA for 6be0b7f
Rakefile
@@ -59,10 +59,12 @@ task :preview_docs do
59
require "guides/rails_guides"
60
Rake::Task[:rdoc].invoke
61
62
- FileUtils.cp_r("doc/rdoc", "preview/api")
63
- FileUtils.cp_r("guides/output", "preview/guides")
+ FileUtils.mv("doc/rdoc", "preview/api")
+ FileUtils.mv("guides/output", "preview/guides")
64
65
- system("tar -czf preview.tar.gz preview")
+ Dir.chdir("preview") do
66
+ system("tar -czf preview.tar.gz .")
67
+ end
68
end
69
70
desc "Bump all versions to match RAILS_VERSION"
0 commit comments