Renamed env.rb to environment.rb. With env.rb agent fails with
/(long ruby path)/rubygems/custom_require.rb:36: importenv is deprecated after Ruby 1.8.1 (no replacement