How can I get RubyGems 1.3.6 on Ubuntu 10.4

杀马特。学长 韩版系。学妹 提交于 2019-12-18 10:03:25

问题


I've just installed a new vm (VirtualBox) with Ubuntu 10.4 and Ruby1.9.1. I've got the package for RUbyGems1.9.1 but when I do gem --version I still get 1.3.5.


回答1:


I got it working using

gem install rubygems-update
cd /var/lib/gems/1.9.1/bin
sudo ./update_rubygems



回答2:


This no longer works. It now gives the error message: "Since apparently nobody reads my emails, blog posts or the README:

DO NOT UPDATE RUBYGEMS ON RUBY 1.9! See UPGRADING.rdoc for details."

It appears the only way to get beyond 1.3.5 on Ubuntu is to go outside apt-get and download the source. http://blog.zenspider.com/2010/12/rubygems-141-has-been-released.html



来源:https://stackoverflow.com/questions/2777831/how-can-i-get-rubygems-1-3-6-on-ubuntu-10-4

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