isolate gem environment if gemPath is null

- unset GEM_PATH and GEM_HOME
- set GEM_HOME to first path-segment of GEM_PATH if gemPath is provided
- set environment directly on JRubyInstanceConfig instead of using evalScriptlet