   (let [whitelist ["HOME" "PATH"]
         clean-env (select-keys env whitelist)]
     (assoc clean-env
-      "GEM_HOME" (fs/absolute-path gem-home)
+      "GEM_HOME" gem-home
       "JARS_NO_REQUIRE" "true"
       "JARS_REQUIRE" "false")))
 

;;; Definitions

(def ruby-code-dir
  "The name of the directory containing the ruby code in this project."
  "src/ruby/puppet-server-lib")

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Private

  extensions extensions.  See SERVER-297 and SERVER-538 for more info."
  [ruby-load-path :- [schema/Str]
   jruby-home :- schema/Str]
  (->> ruby-load-path
    (cons ruby-code-dir)
    (cons (str jruby-home "/lib/ruby/1.9"))
    (cons (str jruby-home "/lib/ruby/shared"))
    (cons (str jruby-home "/lib/ruby/1.9/site_ruby"))))

(defn prep-scripting-container
  [scripting-container ruby-load-path gem-home]
