70 71 72 73 74 75
# File 'lib/pik/commands/run_command.rb', line 70 def echo_ruby_version(path) rb = Which::Ruby.exe(path) raise "Unable to find a Ruby executable at #{path}" unless rb puts `"#{rb}" -v ` puts end