how to reinstall ruby on OS X

OS version: 10.9.4


I deleted the ruby installation from my mac that was clear mistake.


How I can reinstall ruby? I tried to install it with rvm and homebrew all efforts are wasted.


All help appreicated.

MacBook Air, Other OS, OS X 10.9.4

Posted on Sep 14, 2014 9:31 AM

Reply
4 replies

Sep 14, 2014 6:51 PM in response to rubbani.sadia

Ruby is installed by OS X, so what etresoft said.


RVM wants homebrew pre-installed because it will use it to install missing library dependencies that RVM and the Ruby installations require. You also need the latest command line tools for OS X Mavericks that are downloadable from the Apple Developer site using your existing free/paid developer account ID. RVM compiles the Ruby distribution in your home directory as part of the installation process.

Sep 15, 2014 12:42 PM in response to etresoft

Thanks for the kind reply. There are few issues:

1. I do not have installer with me.

2. I intended to delete some ruby gems but by mistake I delete full system ruby, ruby installation that comes with OS X. I deleted fully from the system

3. I do not have any backup (at least I did not make any backup)

4. After that multiple time I tried to install rvm and homebrew but I am not able to install ruby


Now, what is your suggestion?


Regards,

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

how to reinstall ruby on OS X

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.