我正在尝试运行bundle install,但是当我这样做时,我收到一条消息,表明我的Gemfile指定了Ruby版本2.1.4(这是正确的),但是我在Ruby 2.0.0上(这是不正确的) )。请参阅下面终端的片段。
~/D/g/prototype git:master ❯❯❯ bundle install
/Library/Ruby/Gems/2.0.0/gems/bundler-1.7.10/lib/bundler/vendor/thor/shell/basic.rb:355: warning: Insecure world writable dir /usr/local in PATH, mode 040777
Your Ruby version is 2.0.0, but your Gemfile specified 2.1.4
~/D/g/prototype git:master ❯❯❯ rbenv versions ⏎
system
2.0.0-p195
* 2.1.4 (set by /Users/jasenlew/Desktop/glowing/prototype/.ruby-version)
2.2.0
~/D/g/prototype git:master ❯❯❯ ruby -v
ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-darwin14.0]
~/D/g/prototype git:master ❯❯❯ rbenv local
2.1.4
~/D/g/prototype git:master ❯❯❯ rbenv global
2.1.4
我错过了什么?非常感谢你的帮助。