Permalink
Browse files

resolve_ruby_exe returns nil if no ruby is found

  • Loading branch information...
1 parent 1cb748e commit 13a3dfde25225f0f152b9ecb4a6abb51c2426d8b @jredville jredville committed Aug 7, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit 13a3dfd

Please sign in to comment.