improved rubygems process, update #1463