Bundler installs gems in project rspec directory?

Having just converted my project to rails3 I now note that bundler
installs gems into a directory called rspec in the project root. Since
this defeats entirely the purpose of having central gem libraries I need
to know how to turn this ‘feature’ off.

Out of pathological curiosity I do not mind finding out how this
happened to me and why such a thing is even possible, but I can
certainly live without that information. However, I really do need to
know how to stop this from happening.

I found it.

I forgot to mention the solution:

in .bundle/config

BUNDLE_DISABLE_SHARED_GEMS: “0”

However, I seem to observe that running bundle install resets this value
to 1.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs