add attr_accessor for gem version number and selected gem