我尝试卸载旧版本的捆绑包,但在宝石列表中,他仍然存在。在安装了最新版本的bundler后,我收到有关使用旧版本的bundler for rails 4.0.2的错误。
stasik@stasik-TWH:~/Seti$ gem list bundler
*** LOCAL GEMS ***
bundler (1.2.3)
stasik@stasik-TWH:~/Seti$ gem uninstall bundler
INFO: gem "bundler" is not installed
stasik@stasik-TWH:~/Seti$ rails new app1
create
create README.rdoc
...
create vendor/assets/stylesheets/.keep
run bundle install
/usr/bin/ruby1.9.1: No such file or directory -- /usr/share/rubygems-integration/1.9.1/gems/bundler-1.2.3/bin/bundle (LoadError)