Problems in installing Ruby and rails on Lion

Discussion in 'Mac OS X Lion (10.7)' started by vvmac, Sep 19, 2011.

  1. vvmac, Sep 19, 2011
    Last edited: Sep 20, 2011

    vvmac macrumors newbie

    Joined:
    Sep 17, 2011
    #1
    Hi there,

    I am a new Mac user + a new learner ruby on rails.
    Now, I am trying to install rvm, ruby and rails on my Macbook Pro (I did it successfully on Window).

    I can't even install rvm on my Mac (Lion OS). I used bellow command to install rvm

    bash < <(curl -sk https://rvm.beginrescueend.com/install/rvm)

    [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

    after i finished this two line, I tested rvm by using command:

    type rvm | head -1

    it gave output "rvm is a function"

    But after I restart my terminal, and retype this command "type rvm | head -1"
    and i gave output: "rvm not found"

    anyone know what is my problem, pls pls help me.
     
  2. olafloken macrumors newbie

    Joined:
    Sep 21, 2011
    #2
  3. Hansr macrumors 6502a

    Joined:
    Apr 1, 2007
  4. vvmac thread starter macrumors newbie

    Joined:
    Sep 17, 2011
    #4
    Thanks for your help.

    all link provided are awesome.

    Now I installed it successfully. and I already solved that problem.

    After installed it, once ever we restart our terminal we have to use the command:

    Source .bash_profile

    to call it for using...

    Cheers,
     

Share This Page