Update ruby.rb

change JAVA_HOME based off of `which java`