$OpenBSD: patch-test_redcarpet_bin_test_rb,v 1.2 2017/11/04 15:50:05 jeremy Exp $
Index: test/redcarpet_bin_test.rb
--- test/redcarpet_bin_test.rb.orig
+++ test/redcarpet_bin_test.rb
@@ -65,7 +65,7 @@ class RedcarpetBinTest < Redcarpet::TestCase
   def run_bin(*args)
     bin_path = File.expand_path('../../bin/redcarpet', __FILE__)
     ruby = "ruby " if RUBY_PLATFORM =~ /mswin|mingw/
-    IO.popen("#{ruby}#{bin_path} #{args.join(" ")}") do |stream|
+    IO.popen("${RUBY} #{ruby}#{bin_path} #{args.join(" ")}") do |stream|
       @output = stream.read
     end
   end
