cherrypicked .ruby-version and .ruby-gemset from master