Add workaround for rubygems bug