Mismatch in bundler version in Gemfile.lock and rails version in Gemfile
Baschdl opened this issue · 5 comments
Yesterday's PR #15688 bundled the Gemfile.lock
with version 2.1.4
Line 566 in 0a3e9f5
gem 'rails', '4.2.11'
Line 3 in 0a3e9f5
bundler (>= 1.3.0, < 2.0)
.
Steps to Reproduce
Install everything by hand or run git clone https://github.com/sverhoeven/docker-cartodb.git
and docker build -t=sverhoeven/cartodb docker-cartodb/
Hi @Baschdl,
Sorry for the inconvenience we may have caused to you! We are aware of the warning and it should be harmless as long as you have the right bundler version(s).
Regarding the repo you reference the fix should be as simple as updating bundler version to point to 2.1.4
or dynamically detect version from the Gemfile.lock, I also recommend you to update the Dockerfile to start using modern versions of postgresql, nodejs, ruby and python3.
On the other hand, if all you need is using cartodb I recommend you to check the new 12 months free accounts or the student grants.
Thank you for using CARTO :)
I also experimented with the py3pg12postgis3 branch but imports in this branch fail with a 9999 error with a file which works on the other branch (sverhoeven/docker-cartodb#89).
I actually assumed that the older versions of postgresql, nodejs, ruby and python are the recommended way as mentioned on https://cartodb.readthedocs.io/en/latest/install.html. It would be nice if you could update the installation instruction accordingly.
As mentioned in the original comment, there is a conflict in the bundler version (run with py3pg12postgis3 branch but gem install bundler --version=2.1.4
):
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
rails (= 4.2.11) was resolved to 4.2.11, which depends on
bundler (< 2.0, >= 1.3.0)
Current Bundler version:
bundler (2.1.4)
Hi @Baschdl,
In master to overcome the issue you could remove the bundle update thin
at https://github.com/sverhoeven/docker-cartodb/blob/master/Dockerfile#L190 (please note that we don't officially support the docker configuration in that repo)
It would be nice if you could update the installation instruction accordingly.
Totally agree. I hope we can do that soon