- Comprehensive Ruby Programming
- Jordan Hudgens
- 224字
- 2021-07-02 21:13:21
Installing different Ruby versions with RVM
If you're interested in using RVM to manage multiple versions of Ruby on your system, I want to give some more detailed instructions on how you can accomplish this:
- Start out by going to your Terminal and typing the following command:
rvm list

If you have RVM installed, this will bring up all of the versions of Ruby that you have access to on your computer.
- If there is a version of Ruby that you want and that you don't already have on your system, simply type this in to the Terminal:
rvm install 2.3.0
Running this command will install the 2.3.0 version of Ruby for you:

You can do this for any versions of Ruby that are available via RVM. This makes it easy to ensure you're always using the most up-to-date version of the language. Using RVM is also helpful if you have different projects that utilize various versions of the language. For example, I have some legacy Ruby projects that use Ruby version 1.9.3, while all of my new projects use Ruby 2.3.0 (at the time of writing this guide).
By leveraging RVM, I can quickly switch between different versions of Ruby with a simple Terminal command. Alternatively, if you're not a fan of RVM, you can also use rbenv, which is a similar service.
- GAE編程指南
- Visual Basic 6.0程序設(shè)計(jì)計(jì)算機(jī)組裝與維修
- PHP 7底層設(shè)計(jì)與源碼實(shí)現(xiàn)
- 差分進(jìn)化算法及其高維多目標(biāo)優(yōu)化應(yīng)用
- QTP自動(dòng)化測(cè)試進(jìn)階
- 琢石成器:Windows環(huán)境下32位匯編語(yǔ)言程序設(shè)計(jì)
- Visual Basic程序設(shè)計(jì)教程
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- Java EE企業(yè)級(jí)應(yīng)用開(kāi)發(fā)教程(Spring+Spring MVC+MyBatis)
- UML2面向?qū)ο蠓治雠c設(shè)計(jì)(第2版)
- .NET 4.0面向?qū)ο缶幊搪劊簯?yīng)用篇
- R的極客理想:量化投資篇
- Android高級(jí)開(kāi)發(fā)實(shí)戰(zhàn):UI、NDK與安全
- Web開(kāi)發(fā)新體驗(yàn)
- HTML5+CSS+JavaScript深入學(xué)習(xí)實(shí)錄