Undefined method `end_with?' for “no such file to load — Win32API”:String (NoMethodError)

橙三吉。 提交于 2019-12-07 15:50:27

The upgrade documentation mentions that you can use the following command to downgrade the gems. Suffice to say that it probably works for upgrading to a specific version as well:

gem update --system 1.3.7

In the light of the comment I just received you could also try to install an older gem your self.

For example (using root / sudo):

cd /usr/src && wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz

tar -xvf rubygems-1.3.7.tgz

ruby setup.rb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!