Closed gyscos closed 7 years ago
@gyscos Any luck on trying to get the json gem1.7.5 to install?
I didn't try anything else. I'm still unsure how to install this plugin.
Aaah it works if I run bundle install
from the redmine repository (or even the plugins repository), not from the redmine_omniauth_google repository...
@gyscos i'm glad that worked for you; however i'm still having that same issue with ruby 2.3.4p301 and redmine 3.4.2; bundle install works from the redmine root directory, but when i restart apache and try to load redmine it fails with an error that required gems are missing and to run bundle install.
My working dockerfile:
FROM redmine
RUN apt-get update && apt-get install -y build-essential
# Other plugins...
RUN git clone https://github.com/twinslash/redmine_omniauth_google /usr/src/redmine/plugins/redmine_omniauth_google
RUN cd /usr/src/redmine && bundle install
The resulting installation has a working google_omniauth and the following environment:
Environment:
Redmine version 3.4.2.stable
Ruby version 2.4.1-p111 (2017-03-22) [x86_64-linux]
Rails version 4.2.8
Environment production
Database adapter SQLite
SCM:
Subversion 1.8.10
Mercurial 3.1.2
Bazaar 2.7.0
Git 2.1.4
Filesystem
Redmine plugins:
redmine_contacts 4.1.1
redmine_custom_css 0.1.6
redmine_landing_page 0.1.1
redmine_omniauth_google 0.0.1
redmine_slack 0.2
Does this not work for you?
For easy reproducibility, here is a Dockerfile:
Attempting to build this container gives the following error:
It seems the json package cannot properly build with this ruby version (2.2.7p470). https://github.com/twinslash/redmine_omniauth_google/issues/24#issuecomment-172893420 seems to indicate that this plugin works with redmine 3.2, how can I properly install it?
Thanks!