All threads / Check & Remove old Ruby & Rails Version?

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Check & Remove old Ruby & Rails Version?

Menj Villalobos asked in General

Hi,
I need your help on how to check ruby version installed on my system and same as rails. And maybe remove them if necessary if.

Thanks

You can find your ruby and rails versions by running:

ruby -v
rails -v

gem uninstall rails # to uninstall

And to uninstall ruby, you'd just follow the uninstall instructions from rbenv, rvm or whatever you used to install it.

As a side note, you don't want to remove any Ruby that comes pre-installed on your system (like macOS has a Ruby pre-installed) because the operating system depends upon it.

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 38,558+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.