Open prathapvr opened 5 years ago
I solved that issue locally by allowing higher versions of httpparty
, i.e., I changed the Gemfile to
gem 'httparty', '>= 0.13.7'
So far, I did not run into any issues by doing so.
I'm also running into this issue
FROM redmine:4.0.5-alpine
RUN git clone https://github.com/devopskube/redmine_openid_connect.git /usr/src/redmine/plugins/redmine_openid_connect
RUN cd /usr/src/redmine/plugins/ && bundle install && bundle exec rake redmine:plugins:migrate
I'm getting:
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "json":
In snapshot (Gemfile.lock):
json (= 2.2.0)
In Gemfile:
httparty (~> 0.13.7) was resolved to 0.13.7, which depends on
json (~> 1.8)
simplecov (~> 0.14.1) was resolved to 0.14.1, which depends on
json (>= 1.8, < 3)
Running `bundle update` will rebuild your snapshot from scratch, using only
Why was @SECtim s response marked offtopic? it was also my first guess...
I had the same problem and fixed it by not running bundle install
inside the plugin's folder but in the root folder of the Redmine application. (But that also might be obvious for anyone who isn't such a Ruby noob as I am)
After cloning the project inside plugins folder and run
bundle install
command getting below error