- 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.
- Vue.js前端開(kāi)發(fā)基礎(chǔ)與項(xiàng)目實(shí)戰(zhàn)
- Software Testing using Visual Studio 2012
- 實(shí)戰(zhàn)Java程序設(shè)計(jì)
- RTC程序設(shè)計(jì):實(shí)時(shí)音視頻權(quán)威指南
- Object-Oriented JavaScript(Second Edition)
- 機(jī)械工程師Python編程:入門(mén)、實(shí)戰(zhàn)與進(jìn)階
- Hands-On Swift 5 Microservices Development
- D3.js 4.x Data Visualization(Third Edition)
- Python算法詳解
- ElasticSearch Cookbook(Second Edition)
- Java Fundamentals
- 跟戴銘學(xué)iOS編程:理順核心知識(shí)點(diǎn)
- UML基礎(chǔ)與Rose建模實(shí)用教程(第三版)
- Java Web開(kāi)發(fā)基礎(chǔ)與案例教程
- PHP動(dòng)態(tài)網(wǎng)站開(kāi)發(fā)實(shí)踐教程