sstephenson/rbenv — Issue #131: Bundler installs inside the ./rake directory
Author: ysbaddaden
Created: 2011-10-28 12:37:39+00:00
State: open

I just installed rbenv and moved the ~/.rvm into a backup place. I reloaded all shells and I don't have any more references to rvm.

Whenever I run bundle install inside a projects it installs gems inside the ./rake/ruby folder for whatever reason.

My gem environment is correct:

$ gem environment
- RUBYGEMS VERSION: 1.6.2
- RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/julien/.rbenv/versions/ree-1.8.7-2011.03/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /home/julien/.rbenv/versions/ree-1.8.7-2011.03/bin/ruby
- EXECUTABLE DIRECTORY: /home/julien/.rbenv/versions/ree-1.8.7-2011.03/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /home/julien/.rbenv/versions/ree-1.8.7-2011.03/lib/ruby/gems/1.8
- /home/julien/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gem" => "--no-rdoc --no-ri"
- REMOTE SOURCES:
- http://rubygems.org/

Only bundler has a problem:

$ bundle exec gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.6.2
- RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/julien/work/tellicious/rake/ruby/1.8
- RUBY EXECUTABLE: /home/julien/.rbenv/versions/ree-1.8.7-2011.03/bin/ruby
- EXECUTABLE DIRECTORY: /home/julien/work/tellicious/rake/ruby/1.8/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /home/julien/work/tellicious/rake/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gem" => "--no-rdoc --no-ri"
- REMOTE SOURCES:
- http://rubygems.org/

Any idea?