How do I upgrade my ruby 1.9.2-p0 to the latest patch level using rvm?

前端 未结 8 1815
庸人自扰
庸人自扰 2021-01-29 18:25

My current version of ruby is ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.5.0] but I want to update it to the latest patch level using rvm. How can I

8条回答
  •  有刺的猬
    2021-01-29 19:02

    This blog post should be helpful: http://pogodan.com/blog/2011/09/06/ruby-1-9-3-for-development

    essentials:

    rvm get head
    rvm reload
    
    wget https://gist.github.com/raw/1008945/4edd1e1dcc1f0db52d4816843a9d1e6b60661122/ruby-1.9.2p290.patch
    rvm install ruby-1.9.2-p290 --patch ruby-1.9.2p290.patch -n patched
    

提交回复
热议问题