删除旧版本的 Ruby(在 Windows 上) [英] Remove older versions of Ruby (on Windows)

查看:65
本文介绍了删除旧版本的 Ruby(在 Windows 上)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了 Ruby 1.9.2,我希望它完全取代我也安装的旧版本 Ruby (1.8.7).(主要是因为我在安装不同版本的东西时会感到困惑.)

I just downloaded Ruby 1.9.2, and I want it to completely replace the older version of Ruby (1.8.7) that I also have installed. (Mostly because I get confused when installing things with different versions floating around.)

这样做的最佳方法是什么?我要卸载旧版本吗?(如果是,怎么做?)我可以用新的 ruby​​1.9.2/bin/{ruby,irb} 替换旧的 ruby​​1.8.7/bin/{ruby,irb} 吗?

What's the best way to do this? Do I uninstall the older version? (If so, how?) Can I just replace the old ruby1.8.7/bin/{ruby,irb} with the new ruby1.9.2/bin/{ruby,irb}?

我使用的是 Windows 7 机器.

I'm on a Windows 7 machine.

推荐答案

这不是您要寻找的答案,但希望将来能对您有所帮助.您可以使用 Windows 上的 Pik(而不是 Linux/Mac 上的 RVM)在同一开发环境中管理多个并发版本的 Ruby.

This isn't the answer you're looking for, but hopefully will help you in the future. You can use Pik on Windows (as opposed to RVM on Linux/Mac) to manage multiple concurrent versions of Ruby on the same development environment.

http://github.com/vertiginous/pik/

这篇关于删除旧版本的 Ruby(在 Windows 上)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆