Error opening the Mac Terminal

4

For some time now, my MAC terminal has given me an error every time I open a new screen of my terminal, I have been searching for information from Google and the truth is that I have not found anything convincing, I show you the error:

-bash: /Users/name/.rvm/script/rvm: No such file or directory

-bash: /Users/name/.bash_profile: line 11: unexpected EOF while looking for matching '"'

-bash: /Users/name/.bash_profile: line 14: syntax error: unexpected end of file

File .bash_profile :

[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile

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

source ~/.rvm/script/rvm

source ~/.rvm/scripts/rvm

export PATH="$HOME/.rbenv/bin:$PATH"

eval "$(rbenv init -)"

export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"

export PATH=$HOME/.rbenv/bin:$PATH"

eval "$(rbenv init -)"

PATH=/usr/local/bin:/usr/local/sbin:/Users/name/.rbenv/plugins/ruby-buil$

PATH=/usr/local/bin:/usr/local/sbin:/Users/name/.rbenv/plugins/ruby-buil$
    
asked by Ramón Devesa 10.05.2016 в 19:34
source

1 answer

3

The .bash_profile file has an error in this line:

export PATH=$HOME/.rbenv/bin:$PATH"

If you notice, quotes are closed, but they do not open. It should be like this:

export PATH="$HOME/.rbenv/bin:$PATH"

Fix that and see if it works for you now. If not, update the question with the error and we can continue from there.

    
answered by 10.05.2016 / 23:00
source