This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
bundle install
is ignoring system-wide gem
#2588
Labels
bundle install
is ignoring system-wide gem
#2588
Related to my questions in #2557, I was able to reproduce the scenario reported to me by several users.
A clean
rails new foo
is causing Bundler to installsqlite3
gem, even when the gem has been previously installed system-wide.There is no previous usage of
--path
or--system
, there is no.bundle
at the user level or the project level.The following is the entire information according to ISSUES document:
What you're trying to accomplish
For Bundler to use the already installed sqlite3 gem available system-wide
The command you ran
Checked sqlite3 was installed:
What you expected to happen
For Bundler not to install
sqlite3
gem (with platform x86-mingw32)What actually happened
Bundler installed sqlite3 gem:
It installed
x86-mingw32
gem even when existing, same version, was present.Everything output by running
bundle env
Find it here: https://gist.github.com/luislavena/6194849
More details
This is a fresh Ruby 2.0.0 installation, on a new machine, where is no previous Bundler, Ruby or RubyGems configuration.
There are no
GEM_HOME
orBUNDLE*
environment variables that could interfere.After removal of the
x86-mingw32
gem,bundle install
no longer attempts to install it again:I've also tested with
--skip-bundle
during application creation and later usage ofbundle install --system
but that combination also resulted in sqlite3 gem being installed again.Let me know if further details are required.
Thank you in advance.
The text was updated successfully, but these errors were encountered: