Make error installing Ruby 1.9.2 via rvm OSX Lion 10.7.2 XCode 4.2

后端 未结 5 1902
一生所求
一生所求 2021-01-23 02:33

I\'m getting the following error when trying to install 1.9.2 with rvm

/Users/craigspaeth/.rvm/scripts/functions/utility: line 152: date: command not found
Insta         


        
5条回答
  •  无人共我
    2021-01-23 03:09

    If you are doing a clean install of xcode 4.2 it will not work. For those who are indicating they are getting 4.2 to work I would suggest that they had installed 4.2 over the top of 4.1 which as per apples documentation will only install the unix tools once.. So make sure you know what is already installed on your system.

    UPDATE for you

    Mar 21

    I have installed and tested with the following

    1. Download and install xCode 4.3.2
    2. Download and Install Command line Tools for Xcode late March 2012
    3. Set xcode path $ xcode-select -switch /Application/xcode.app/Content/Developer
    4. Install Homebrew and then install git, autoconf, automake, libyaml, libksba, wget via Brew.
    5. Install RVM make sure it is setup in you shell
    6. rvm install ruby-1.9.3-p125

    There are articles out there recommending this for ruby >=1.9.3 and thats all I have tested and currently use. I did install and use mysql2, sqlite, and the usual suspect (GEMs) They all compiled and passed some of my basic tests

    Hope this helps.

提交回复
热议问题