Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

resolve_ruby_exe returns nil if no ruby is found

  • Loading branch information...
commit 13a3dfde25225f0f152b9ecb4a6abb51c2426d8b 1 parent 1cb748e
@jredville jredville authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/mspec/helpers/ruby_exe.rb
View
1  lib/mspec/helpers/ruby_exe.rb
@@ -80,6 +80,7 @@ def resolve_ruby_exe
exe = ruby_exe_options option
return exe if exe and File.exists?(exe) and File.executable?(exe)
end
+ nil
end
unless Object.const_defined?(:RUBY_EXE) and RUBY_EXE
Please sign in to comment.
Something went wrong with that request. Please try again.