我剛剛從rvm移到rbenv。當我看到寶石env我得到以下。無法運行耙子和捆綁
RubyGems Environment:
- RUBYGEMS VERSION: 2.0.3
- RUBY VERSION: 1.9.3 (2012-11-10 patchlevel 327) [x86_64-darwin12.4.0]
- INSTALLATION DIRECTORY: /Users/teacher/.rvm/gems/ruby-1.9.3-p327
- RUBY EXECUTABLE: /Users/teacher/.rbenv/versions/1.9.3-p327/bin/ruby
- EXECUTABLE DIRECTORY: /Users/teacher/.rvm/gems/ruby-1.9.3-p327/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-darwin-12
- GEM PATHS:
- /Users/teacher/.rvm/gems/ruby-1.9.3-p327
- /Users/teacher/.rvm/gems/[email protected]
- /usr/local/Cellar/rbenv-gem-rehash/1.0.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
即使我使用了rvm implode,我仍然在.rvm中安裝和執行目錄。我認爲dir是在運行gem install bundler時創建的。
我不認爲這是正確的,但我不知道該怎麼做。
現在,當我安裝gem install bundler時,它安裝在.rvm文件中,安裝gem install bundler後我無法運行bundle install。