Target JDK7 for compatibility
Avoid using Pathname to compute relative paths and instead rely on a fully expanded path

This will allow this code to work whether it's executing in a jar context or a
.rb file on the filesystem