Fix test failure when ruby is not yet installed

Other uses of ruby in a Makefile use ENV['RUBY'] which contains a
miniruby invocation when ruby is not yet installed (tests run during the
ruby build).