load ruby environment for gemset operations, update #3037