新机。新的 rbenv 安装。新的 rbenv-gemset 安装。新的 ruby-2.0.0 安装。新的 Rails 4.0.0 应用程序。
当我
$ bundle install
从 rails 应用程序目录,我得到
Your bundle is complete!
It was installed into ./vendor/bundle
但是,如果我那时
$ gem list
没有任何应该安装的宝石出现。
我跑了
$ rbenv rehash
为什么会这样?
附加信息:
$ which bundle
/usr/local/var/rbenv/shims/bundle
$ rbenv which bundle
/usr/local/var/rbenv/versions/2.0.0-p247/bin/bundle
$ rbenv which ruby
/usr/local/var/rbenv/versions/2.0.0-p247/bin/ruby
$ ruby --version
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.4.0]
$ rbenv gemset active
blog
$ which rails
/usr/local/var/rbenv/shims/rails