improved check for gemset in rvm do
Revert "simplify loading ruby from project files, update #2659"

This reverts commit 3154e6b366a94cee21dd3007dda6d5c180e930aa.
read ruby string only if it was loaded via __rvm_project_rvmrc, update #2659