Issue while ruby script execution

#!/usr/bin/env ruby
require ‘net/ssh’

HOST = ‘192.168.56.102’ #Remote server
USER = 'root’
PASS = 'xxxxxxx’
command="ruby /home/ubuntu/Documents/prototype/public/nfs-share/scripts/update_db.rb"
puts command
Net::SSH.start( HOST, USER, :password => PASS ) do|ssh|
result = ssh.exec!(command)
puts result
end
puts “ssh_update_END”

Running env with no environment variable settings doesn’t make sense. Why not run ruby directly?