Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I remove Ruby on Rails 4 beta?

I'm new to Ruby and Rails and I installed the latest beta version of Rails 4 on my Mac, before I installed RVM to manage my versions. The Rails 4 beta is becoming a huge pain in the ass because it's the default version in every new tab I open in the terminal. How can I uninstall the Rails 4 beta and all references to it?

like image 243
BeachRunnerFred Avatar asked Apr 20 '13 16:04

BeachRunnerFred


People also ask

How to uninstall Ruby on mac completely?

Uninstall Ruby on Mac with rbenv For rbenv, use rbenv versions to see which versions you have installed. Use the uninstall command to remove a version. This will remove any gems associated with the version as well. If you want to reinstall Ruby, see Install Ruby on Mac for recommendations of newer version managers.


1 Answers

Except of uninstalling rails you need to uninstall railties gem - rails exec is only wrapper that will select most up-to-date railties gem.

$ gem uninstall rails -v=4.0.0.beta1
$ gem uninstall railties -v=4.0.0.beta1
like image 184
Bernard Potocki Avatar answered Oct 10 '22 17:10

Bernard Potocki