林我已經嘗試設置使用我全球紅寶石版本:rbenv全球不設置紅寶石使用OSX 10.8.4</p> <p>
$ rbenv global 1.9.3-p429
$ rbenv version
>> 1.9.3-p194 (set by /Users/emailnitram/.ruby-version)
我的道路是這樣的:
/Users/emailnitram/.rbenv/shims:/Users/emailnitram/.rbenv/bin:/usr/local/opt/ruby/bin:/usr/local/heroku/bin:/Users/emailnitram/Sites/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/emailnitram/.rbenv/shims:/Users/emailnitram/.rbenv/bin:/usr/local/opt/ruby/bin:/usr/local/heroku/bin:/Users/emailnitram/Sites/bin
我試過看rbenv not changing ruby version並按照說明來確保我在〜/ .bash_profile
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
不過我通常都要設置rbenv local 1.9.3-p429
來得到它的工作