Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin on Redmine 4.0.3 on a Docker container #23

Open
erikfazio opened this issue May 24, 2019 · 4 comments
Open

Plugin on Redmine 4.0.3 on a Docker container #23

erikfazio opened this issue May 24, 2019 · 4 comments

Comments

@erikfazio
Copy link

Hello, everyone,
I installed the OpenIdConnect plugin on Redmine 4.0.3 inside a Docker container starting from the basic image of Redmine.
After having extracted the plugin inside the homonymous folder I'm asked to install the Json 1.8 version instead of the default one that is 2.2. After doing this I get back an error that indicates the lack of dependencies for the make command and the gcc compiler. I install them and finally run the command "bundle install".
From now on Redmine doesn't work anymore.
I really need to make the plugin work on Redmine 4.0.3, can you help me?
Thanks in advance.

@SIkebe
Copy link

SIkebe commented Jun 7, 2019

@erikfazio
Which version of plugin are you using? Current(v0.9.4) does not support Remine 4.X.
See here #22

@msarti
Copy link

msarti commented Jul 24, 2019

@SIkebe I try cloning the repo and using master, but I have the same error on both images 4.0.3 and 4.0.4.

@anishkumar93
Copy link

Hi,

Even am facing the same issue.

cloned the redmine_openid_connect inside plugins folder and run bundle update the bundle install command
when I restart the container, it stopped with the below error.

Bundler can't satisfy your Gemfile's dependencies.
Install missing gems with bundle install.
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
the gems in your Gemfile, which may resolve the conflict.

@iWangJiaxiang
Copy link

I fixed the issue. Just remove the dependency version from GemFile of this plugin~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants