terminal - Error upgrading Ruby to 1.9.3 on OS X 10.7.5 using zsh - Command not found: rvm -
i've been trying follow tutorial upgrade ruby i'm getting "command not found: rvm" in terminal.
➜ ~ rvm zsh: correct 'rvm' 'rvim' [nyae]? n zsh: command not found: rvm
i'm getting stuck after step 2: load rvm shell. i've added
[[ -s "$home/.rvm/scripts/rvm" ]] && source "$home/.rvm/scripts/rvm"
into .zshrc file additional lines i've found in other answers similar question. file contents now:
# path oh-my-zsh configuration. zsh=$home/.oh-my-zsh # set name of theme load. # in ~/.oh-my-zsh/themes/ # optionally, if set "random", it'll load random theme each # time oh-my-zsh loaded. zsh_theme="robbyrussell" # example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" # ruby 1.9 __rvm_project_rvmrc alias rvm-promt=$home/.rvm/bin/rvm-prompt # added 2013/09/13 source $zsh/oh-my-zsh.sh [[ -s "$home/.rvm/scripts/rvm" ]] && source "$home/.rvm/scripts/rvm" # set use case-sensitive completion # case_sensitive="true" # comment out disable bi-weekly auto-update checks # disable_auto_update="true" # uncomment change how many wait before auto-updates occur? (in days) # export update_zsh_days=13 # uncomment following line if want disable colors in ls # disable_ls_colors="true" # uncomment following line if want disable autosetting terminal title. # disable_auto_title="true"
i've download xcode 4.6.3 , installed command line tools. how upgrade work? thanks.
edit: relaunched terminal before trying rvm command.
Comments
Post a Comment