如何使用 RVM 重新编译 ruby​​? [英] How do I recompile a ruby with RVM?

查看:44
本文介绍了如何使用 RVM 重新编译 ruby​​?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用 RVM 安装了 Ruby 1.9.3,它运行良好.然后我对 ruby​​ C 源文件进行了一些更改,我想重新编译并重新安装它,以便我可以使用这些更改.然而,我还没有找到任何类型的 rvm recompile 命令.

I installed Ruby 1.9.3 with RVM, and it works fine. I then made some changes in a ruby C source file, and I want to recompile and re-install it so I can use the changes. I haven't found any kind of rvm recompile command however.

推荐答案

啊哈.rvm uninstall [RUBY] 后跟 rvm install [RUBY] 就可以了.

Ah hah. rvm uninstall [RUBY] followed by rvm install [RUBY] does the trick.

或者更好:

rvm reinstall [RUBY]

这篇关于如何使用 RVM 重新编译 ruby​​?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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