Daniel Friis
Daniel Friis

Reputation: 484

Why are gems installed in my project directory?

I have rvm installed and have created .ruby-version specifying 1.9.3 and .ruby-gemset specifying my_project in my project directory. And when i run gem env gemdir it returns: /Users/danielfriisjensen/.rvm/gems/ruby-1.9.3-p392@my_project.

However, when I run bundle install, all the gems that I have specified in my gemfile are put in my_project/vendor/bundle/gems

Upvotes: 0

Views: 1291

Answers (1)

Daniel Friis
Daniel Friis

Reputation: 484

Bundler was remembering the location from the first time I ran bundle install. Had to 'reset' bundler's memory be running rm -r .bundle/config

Upvotes: 1

Related Questions