summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Whiting <jpwhiting@kde.org>2013-05-31 20:32:49 (GMT)
committerHéctor Orón Martínez <hector.oron@collabora.co.uk>2014-01-14 10:57:13 (GMT)
commite38189327ac7fafc74130770a5e328f586bfb32c (patch)
treec61f9fe46b6d7f9a7b4d26b8c60636e8f3a6e211
parentd9527bcc8d22ea16750ea63a74593cb14558a0c7 (diff)
downloadopen-build-service-e38189327ac7fafc74130770a5e328f586bfb32c.tar.gz
open-build-service-e38189327ac7fafc74130770a5e328f586bfb32c.tar.xz
Ignore deprecated warnings during rake.
Signed-off-by: Héctor Orón Martínez <hector.oron@collabora.co.uk>
-rw-r--r--src/api/Rakefile2
-rw-r--r--src/webui/Rakefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/api/Rakefile b/src/api/Rakefile
index 892bcf9..08fb0b3 100644
--- a/src/api/Rakefile
+++ b/src/api/Rakefile
@@ -1,6 +1,8 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/switchtower.rake, and they will automatically be available to Rake.
+require "rubygems"
+Gem::Deprecate.skip = true
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
require 'rake'
diff --git a/src/webui/Rakefile b/src/webui/Rakefile
index b0b6cca..4e28848 100644
--- a/src/webui/Rakefile
+++ b/src/webui/Rakefile
@@ -1,6 +1,8 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/switchtower.rake, and they will automatically be available to Rake.
+require "rubygems"
+Gem::Deprecate.skip = true
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
require 'rake'