From: Antonio Terceiro <terceiro@debian.org>
Date: Sat, 2 Feb 2019 13:57:17 -0200
Subject: fix tests with ruby calls

---
 spec/fast_gettext/vendor/iconv_spec.rb  | 4 +++-
 spec/fast_gettext/vendor/string_spec.rb | 5 +++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/spec/fast_gettext/vendor/iconv_spec.rb b/spec/fast_gettext/vendor/iconv_spec.rb
index 4d6b8f6..ed793d1 100644
--- a/spec/fast_gettext/vendor/iconv_spec.rb
+++ b/spec/fast_gettext/vendor/iconv_spec.rb
@@ -1,7 +1,9 @@
 require "spec_helper"
 
 describe 'Iconv' do
+  let(:ruby) { File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) }
+
   it "also works when Iconv was not found locally" do
-    system("bundle exec ruby spec/cases/iconv_fallback.rb").should == true
+    system("#{ruby} spec/cases/iconv_fallback.rb").should == true
   end
 end
