All threads / Check & Remove old Ruby & Rails Version?
Ask A Question


You’re not receiving notifications from this thread.

Check & Remove old Ruby & Rails Version?

Menj Villalobos asked in General

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.


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 69,840+ 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.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.