rubygem upgrade fixes