Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Patch 1 #2562

Closed
wants to merge 1 commit into from

2 participants

@tilsammans

rdoc/task fix backported from master, for us poor schmucks still on 2-3-stable.

@vijaydev
Collaborator

I think 2-3-stable is closed for development except for security patches.

@tilsammans

Ok, didn't know that.

@tilsammans tilsammans closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 17, 2011
  1. @tilsammans
This page is out of date. Refresh to see the latest.
Showing with 8 additions and 1 deletion.
  1. +8 −1 railties/fresh_rakefile
View
9 railties/fresh_rakefile 100755 → 100644
@@ -5,6 +5,13 @@ require(File.join(File.dirname(__FILE__), 'config', 'boot'))
require 'rake'
require 'rake/testtask'
-require 'rake/rdoctask'
+
+begin
+ require 'rdoc/task'
+rescue LoadError
+ require 'rdoc/rdoc'
+ require 'rake/rdoctask'
+ RDoc::Task = Rake::RDocTask
+end
require 'tasks/rails'
Something went wrong with that request. Please try again.