Update Ruby with Mountain Lion

I have successfully updated Ruby in the past with Snow Leopard 10.6.3 and 10.6.8; however, I'm having an issue doing so with Mountain Lion 10.8.2. I have searched all over, trying to use Homebrew as well as RVM. RVM is shown to be not instaled. I used Jewelrybox, and it installed, showing .bash_profile. But RVM command is showing as an invalid command. I also upgraded Ruby that way as well as with Homebrew. So I have updated Ruby twice with 2 different methods, but running Ruby -v show older 1.8.7. How do I make the path to show the new updated Ruby. I have tried so many ways. Last resort... ask communty. Thanks!

I chose not to try and update the Ruby that is installed by OS X, but I did successfully install the Ruby Version Manager (rvm) into my $HOME/.rvm.
If you are the sole account on your machine, or the only one using Ruby, then you do not want to be root or use sudo when installing rvm, as these permissions imply multi-user usage and (if I remember correctly) will place it in /usr/local/ruby-rvm.
Start over. Remove any reference to rvm in .bashrc, .bash_login, and .zshrc. Any reference to rvm in these files will bork a subsequent install.
Remove $HOME/.rvm if it already exists.
Again, for reference, here is the rvm installation and setup steps. The site has other useful info on gemsets and Rails.
I chose to install ruby-1.9.3-head as default.
In your Ruby scripts, the first line should look like this:
#! /usr/bin/env ruby
This picks up the rvm ruby version.
The first part of my PATH entry in my .bashrc file looks like this:
export PATH=.:~/bin:~/.rvm/bin:$PATH
You should have a working Ruby in no time.
PS: You will need 1.9.3 minimum to get the Ruby code compiled under OS X. Pay attention to the Ruby requirements during install.

Similar Messages

  • HT1338 White screen after updating iMac with Mountain Lion

    Since attempting to upgrade from Lion to Mountain Lion this morning I am seeing a white screen whenever I boot my iMac.  It appears to be unable to boot.  I left it 30 minutes with no activity on the screen before power cycling but the issue remains.  I am hearing the "power on" sound when the iMac is powered up, but it simply stays on the white screen forever, without the Apple logo that we normally see.
    I have a Time Machine backing up my iMac, but am unsure how I can restore from this as I am currently unable to get the iMac to boot.
    Can someone tell me what I can do to get my iMac up and running?
    Thanks....

    Hey guys...
    Just posted this potential solution over in the forum Clinton mentioned. Not sure if it's a proper fix, but it seemed to work for me.
    Cheers...
    Had my first experience with this just now. Shut down the MBPr for it's longest off time since getting it last week (about 6 hrs) and logged in to the BSOD.
    My go-to solution on any other MacBook has always been the PRAM reset.
    Restart your machine. Hold down CMD+OPT+P+R before the gray screen shows up (harder now than on the older, slower machines). Keep holding it down until the startup sound plays 2 or 3 times. Then release the keys and let it boot up normally.
    No idea why this works. Don't have any clue what PRAM even is or what it would have to do with all this - but it worked for me. At least this time. Maybe it won't the next!
    Hope it helps you all...
    http://support.apple.com/kb/HT1379?viewlocale=en_US&locale=en_US

  • HT1338 I updated my MacBook Pro with Mountain Lion and now it is starting slow and opening with some of the programs. How can I fix the problem?

    I updated my MacBook Pro with Mountain Lion and now it is slow in starting up and loads a number of probrams. How can I fix the problem?

    Have you tried starting in Safe Mode and see if the slowness still occurs?
    Restart holding the "shift" key.
    (Expect it to take longer to start this way because it runs a directory check first.)
    If this works look in System Preferences > Users & Groups > Login items and delete any third party login items (-), you can always add them back with the (+). Also look in /Library/Startup Items. Nothing is put in that folder by default, so anything in there is yours.
    Reboot normally and test.

  • HT3275 Since updating OS to Mountain Lion from leopard, I get the following error message when trying to backup with time machine on external drive.  Could not complete backup to media share.  The network backup disk does not support the required AFP feat

    Since updating OS to Mountain Lion from leopard, I get the following error message when trying to backup with time machine on external drive.  "Could not complete backup to media share.  The network backup disk does not support the required AFP features."  What are AFP features and how do I get Time Machine to backup to my current external backup?

    This means that your NAS does not support the required encryption. Update your NAS to the latest firmware or ditch it and buy a Time Capsule (they are the most reliable when using TM).

  • Problems with a Game - Should I update to OSX Mountain Lion?

    Howdy,
    To cut a long story short and get straight to the point I've been having problems with the Sims 3 for god knows how long and its starting to drive me mad. What I'm now wondering is whether updating to OSX Mountain Lion would help at all. The reason I've asked this is because I read a post by someone that said the only way to update your video card (which might be causing the problem) would be to upgrade the whole operating system.
    Any help would be very much appreciated.
    Thanks,
    Sarah
    P.s. If you need anymore details or anything just let me know

    You can not upgrade your Video card at all.
    Mountain Lion may help, but I don't know that it will.

  • Anyone updated system running OS X Server 2.2.2 with Security Update 2014-001 (Mountain Lion)?

    Has anyone updated your system running OS X Server 2.2.2 with the Security Update 2014-001 (Mountain Lion)? If you have, may I know if you have any issues?
    Also, does anyone know if a Apache HTTP module that was compiled with version HTTP 2.2.24 will work under HTTP 2.2.26 (updated by Security Update 2014-001)? I am asking because the module mod_jk.so is not available in the stock Mountain Lion but only in /Applications/Server.app/Contents/ServerRoot/usr/libexec/apache2/ (inside the OS X Server 2.2.2 app), and I am using the module for my Tomcat installation interface to HTTP server.

    Actually, the university I work for is having tons of issues with our Mountain Lion computer (all models) booting and it seems to be tied to this update.  After installing this update, the computer starts booting, gets to the grey screen with the Apple logo and then won't go any further and the cursor changes to the spinning color wheel thing.  A permissions repair resolves the issue temporarily, but it always seems to come back.

  • I just made the update with "Mountain Lion" on may MAC. Now I am not able to open all my Word-Documents any more. What can I do?

    I just made the update with "Mountain Lion" on my MAC. Now I´m not able to open all my (old) Word-Documents any more. What can I do?

    Office 2004 Applications Won't Work in Lion
    You must have Office 2004 which is a PPC-only suite and will not work in Lion. You need to upgrade to Office 2011 - Mactopia - or you can try the freeware suite, Libre Office, that is functionally similar to Office 2007 for Windows except it works on Lion.
    You may want to consider as well:
    These two suites are similar to Libre Office but not as current or as well-supported:
    NeoOffice
    Open Office
    And, then there is Apple's iWork suite:
    Pages - word processing and layout
    Keynote - presentation
    Numbers - spreadsheet
    Each can open and save Office compatible files. They may be purchased separately via the Mac App Store for $19.99 each.
    (Access to the Mac App Store requires Snow Leopard 10.6.6 or higher and an Apple ID.)

  • I have a problem with mountain lion and now it's impossible to App Store to connect internet for looking for update !

    Hi,
    I have a problem !
    I have mountain lion now ... and now it's impossible to App Store to connect internet for looking for update !
    Could you help me!
    Thanks
    yculand

    Hi,
    I try but it s not nice sometime app store connect  to internet and sometime he cannot connect for looking for update !
    For information i dont have problem with internet connection !
    I think app store is not stable with mountain lion.
    Could you help me ?
    Thanks in advance for your anwser.
    yculand

  • HT1338 Dear all, I have just bought a MacBook pro with osx lion on 25thast month. I wanted to know if I can use the methods described above to update to osx mountain lion or I have to buy osx mountain lion from the app store?

    Dear all, I have just bought a MacBook pro with osx lion on 25th last month. I wanted to know if I can use the methods described above to update to osx mountain lion or I have to buy osx mountain lion from the app store?

    Here are the rules to qualify for the free upgrade:
    http://www.apple.com/osx/uptodate/
    (has to be purchased from Apple or authorized reseller).

  • HT1338 How do I get a driver for my Epson Stylus Photo 1400 so that it will run with Mountain LIon?  I tried "Software Update" and says "no update available"

    How do I get a driver for my Epson Stylus Photo 1400 so that it will run with Mountain LIon?  I tried "Software Update" and says "no update available".  I contacted Epson and was told all driver updates had to be obtained using "Software Update"?

    You will find the latest Epson drivers herehttp://support.apple.com/kb/DL1398.
    If you don't find a driver for your printer in the above, then install the Gutenprint drivers. It supports your model.

  • Air play mirroring mac with mountain lion, sound is working but video is extremely slow to update

    I am trying to get air play mirroring working on my  mid 2011 Mac book pro and Apple TV 3 (latest one) with mountain lion. I have the icon, it seems to connect to each other, and the screen shows up on my apple TV, yet it doesnt update, takes a long time to show up at all, just keeps showing the same screen. However, the audio works fine, I tried to play a Xfinity stream through safari, the video didnt show up on apple TV but the sound came through with no delay. Any ideas?

    thanks for the help.... even thought it didn't work...
    basically I think i either have some virus or this is the result of that stupid update I did... I know i did that keyboard one an itunes one a quicktime one and there might've been another.

  • HT1338 I have tried to updated my iMac with Mountain Lion.

    HELP!!  I have tried to updated my iMac with Mountain Lion,  OS X 10,8,3 (12D78) to 10,8,4, it keeps asking me to restart to install the updates, having tried this 20 times the app still has update available and I just go round again. how can I get this to finish and update correctly

    Try downloading the update from the Apple Downloads site. http://support.apple.com/kb/DL1658
    Or, you might try booting into Safe Mode and try to install through App Store. http://support.apple.com/kb/ht1455

  • HT1338 Can i update my apple macbook air with Mountain lion OS? Mine is Core 2 duo with 2 GB RAM aluminium case 2008 model

    can i update my macbook air 2008 model aluminium case powered by intel core 2 duo with 2 gigabytes of RAM with mountain Lion? I have Leopard installed on it.

    it has to be a late 2008 model or newer:http://www.apple.com/osx/specs/

  • With Mountain Lion Developer release, and most likely the finished release having all updates via the App store, how does ARD fit into the picture?

    The following question is based on what I have seen in some early reports of the Developer version of Mountain Lion.
    Since the Developer Release of Mountain Lion, and the final version also I expect, having all updates being installed via the App Store by the user, how is a administrator to keep hundreds of systems current with all updates?  The App Store requires, at least in its current version, a user to log in with their Apple Account ID and password even to do no cost updates.  In an Enterprise operation I expect a number, maybe the majority of users will just not bother to do the updates.
    Is there some way to use ARD to handle keeping Mountain Lion systems fully updated from an ARD Admin system?  Is there a backdoor for updating systems?

    No one is going to be able to discuss how ARD might work with Mountain Lion since anyone running an ML system is under nondisclosure and cannot discuss it publicly. All anyone here can talk about is how ARD can (or cannot, as the case may be) be used to keep Lion systems updated.
    At this point I don't see any easy option in ARD to run Mac App Store updates, but it might be possible to script that, though whether that could run in background, as OS updates can, or on a system without a user logged in I don't know. Someone else here may be able to offer insight. For enterprise-level management I think most people have more-or-less given up on ARD as their primary tool, though, and moved to one of the third-party solutions.
    Regards.

  • I would like to upgrade my macbook from 10.6.8 to Mountain lion. however, the app store said that my macbook isn't compatible with the mountain lion . Why can't I update it to mountain lion? and How can I upgrade it to a newer version ?

    I would like to upgrade my macbook from 10.6.8 (Snow Leopard) to Mountain Lion. However, app store said that my macbook is not compatible with Mountain Lion? Why  can't I upgrade my macbook to mountain lion? And How can I upgrade my macbk to a newer version such that I can download the newest version of imovie?
    Here r the system info of my macbook:
    Mac oS X  (version 10.6.8)
    Processor :2.2 GHz Intel Core 2 Duo
    Memory: 2 GB 667 MHz DDR2 SDRAM
    Model Identifier:  Macbook 3,1
    I

    Requirements for Mountain Lion:
    http://www.apple.com/osx/specs/

Maybe you are looking for