mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
RHEL 6: Modify ruby Rakefile.in to work with older Ruby.
This commit is contained in:
@@ -19,12 +19,7 @@
|
||||
require 'rake/clean'
|
||||
require 'rake/testtask'
|
||||
|
||||
# Used to be rake/rdoctask. Now it's rdoc/task.
|
||||
begin
|
||||
require 'rdoc/task'
|
||||
rescue
|
||||
require 'rake/rdoctask'
|
||||
end
|
||||
require 'rake/rdoctask'
|
||||
|
||||
# Used to be rake/gempackagetask. Now it's rubygems/package_task. Also
|
||||
# we need to use the appropriate class name below.
|
||||
|
||||
Reference in New Issue
Block a user