-bash: .: command not found

Discussion in 'macOS' started by sbaha, Jun 1, 2012.

  1. sbaha macrumors newbie

    Joined:
    Jun 1, 2012
    #1
    Hi, if someone could help me, i would really appreciate
    i tried to install ruby on rails following instructions from
    Agile Web Development with Rails Fourth Edition by thomas and hansson

    I installed it once and it was working, but after i exited terminal,
    it cannot find rvm or rails when i try.

    there were two steps before installng rvm:
    bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
    echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && \ . "$HOME/.rvm/scripts/rvm"' >> ~/.bash_profile

    after which i was to exit Terminal, which i didn't

    Now whenever i open Terminal i have:

    -bash: .: command not found
    -bash: .: command not found
    -bash: .: command not found
    -bash: .: command not found

    this is what i get when enter /bin/cat ~/.bashrc :

    Last login: Sat Jun 2 14:45:14 on ttys000
    -bash: .: command not found
    -bash: .: command not found
    -bash: .: command not found
    -bash: .: command not found
    xx:~ xx$ /bin/cat ~/.bashrc

    PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
    xx-macbook:~ xx$
     
  2. sbaha thread starter macrumors newbie

    Joined:
    Jun 1, 2012

Share This Page