From 374fd6693a5aacccb3f5af33c4c1524cf109dd3b Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 6 Jul 2013 22:40:02 +0200 Subject: fixes Rails version for the stable API [ci skip] --- Rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 3ca801cc66..242bd9a930 100644 --- a/Rakefile +++ b/Rakefile @@ -47,7 +47,11 @@ task :install => :build do end desc "Generate documentation for the Rails framework" -Rails::API::RepoTask.new('rdoc') +if ENV['EDGE'] + Rails::API::EdgeTask.new('rdoc') +else + Rails::API::StableTask.new('rdoc') +end desc 'Bump all versions to match version.rb' task :update_versions do -- cgit v1.2.3