Dir.home is replaced with a variable holding it in order to switch easily when using jruby