Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated Rakefile with new app generator path [#4258 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
commit a5e98d7067c1387f4d855603b32a1da6d6a5d0be 1 parent 10825be
@smartinez87 smartinez87 authored josevalim committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 railties/Rakefile
View
8 railties/Rakefile
@@ -36,7 +36,7 @@ end
desc "Updates application README to the latest version Railties README"
task :update_readme do
- readme = "lib/generators/rails/app/templates/README"
+ readme = "lib/rails/generators/rails/app/templates/README"
rm readme
cp "./README", readme
end
@@ -48,7 +48,7 @@ task :generate_guides do
end
task :update_prototype_ujs do
- system "curl http://github.com/rails/prototype-ujs/raw/master/src/rails.js > lib/generators/rails/app/templates/public/javascripts/rails.js"
+ system "curl http://github.com/rails/prototype-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/rails.js"
end
# Generate documentation ------------------------------------------------------------------
@@ -62,8 +62,8 @@ Rake::RDocTask.new { |rdoc|
rdoc.rdoc_files.include('README', 'CHANGELOG')
rdoc.rdoc_files.include('lib/*.rb')
rdoc.rdoc_files.include('lib/rails/*.rb')
- rdoc.rdoc_files.include('lib/generators/*.rb')
- rdoc.rdoc_files.include('lib/commands/**/*.rb')
+ rdoc.rdoc_files.include('lib/rails/generators/*.rb')
+ rdoc.rdoc_files.include('lib/rails/commands/**/*.rb')
}
# Generate GEM ----------------------------------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.