このRVMBashが自分のディレクトリを見つけられないことに本当に混乱しています。これは本当に私を殺しています。新しいbashシェルをロードするたびに、次のように通知されます。
-bash: /Users/<username>/.rvm/scripts/rvm : No such file or directory
bashの何が問題なのか理解できません。
以下は私のように.bashrc
見えます:
1 export PATH=/usr/local/bin:/usr/local/sbin:$PATH
2
3
4 export PATH=/usr/local/bin:/usr/local/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/bin:/opt/local/sbin:/Users/<username>/.rvm/gems/ruby-1.9.2-p290/bin:/ Users/<username>/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/<username>/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/<username>/.rvm/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysq l/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin
5
6
7 # This line for ruby version manager has been commented out
8 PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
以下は私のもの.bash_profile
です:
6 [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
7
8 ##
9 # Your previous /Users/<username>/.bash_profile file was backed up as /Users/<username>/.bash_profile.macports-saved_2011-11-01_at_20:41:30
10 ##
11
12 # MacPorts Installer addition on 2011-11-01_at_20:41:30: adding an appropriate PATH variable for use with MacPorts.
13 export PATH=/opt/local/bin:/opt/local/sbin:$PATH
14 # Finished adapting your PATH environment variable for use with MacPorts.
15
16
17 # Setting PATH for Python 2.7
18 # The orginal version is saved in .bash_profile.pysave
19 PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
20 export PATH