From 27884190551f77d4381776ca97b43d530f338581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Fri, 1 Jun 2018 14:44:27 +0200 Subject: [PATCH] 'ubygems' was removed from Ruby. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index c0cd7ef..c77fd80 100644 --- a/Rakefile +++ b/Rakefile @@ -8,7 +8,7 @@ require 'rake/testtask' PKG_NAME = "gem2rpm".freeze SPEC_FILE = "rubygem-gem2rpm.spec".freeze -if `ruby -rubygems -Ilib ./bin/gem2rpm --version` =~ /\S+$/ +if `ruby -rrubygems -Ilib ./bin/gem2rpm --version` =~ /\S+$/ CURRENT_VERSION = $& else CURRENT_VERSION = "0.0.0".freeze