Fix to call correct ruby installation

This resolves runtime issues on *BSDs which require calling ruby by version, e.g. Ruby 2.0 is ruby20 and there is no ruby. (This is by design, to handle multiple installed versions.) Instead of hard coding 'ruby', use 'gem environment' to determine the most correct Ruby executable. It has the happy side effect of making it possible to quick-switch between Ruby versions for testing.