use ruby specified via chruby for getting pid