Utilize the environment for building

Hi there. My patch does the following:

Instead of relying on build.properties, look for the JRUBY_HOME environment variable and use that.

Also, if JRUBY_HOME is not set, provide some nice messaging on what's wrong and how to correct it.