Switching rubygems upgrade method