I am getting the following error when I try to use gems in windows, and I also referred to this stackoverflow post and updated rubygems and rails. But nothing could solve t
I've too many gems to fix one by one, and try both update_rubygems and gem pristine --all still no luck.
update_rubygems
gem pristine --all
So I use rvm clear gemset to remove all gems with wrong gemspec. Execute bundle install to reinstall all the gems, and Viola!
rvm clear gemset
bundle install