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

Cannot run iQvoc built from Dockerfile - no nokogiri or mini_portile #449

Open
EwaSniegowskaPCSS opened this issue Feb 7, 2023 · 1 comment

Comments

@EwaSniegowskaPCSS
Copy link

Hi.
I build the newest codebase using the provided Dockerfile. When I run the app from docker-compose I get an error:

iqvoc-web-1  | /usr/local/bundle/gems/bundler-2.4.6/lib/bundler/definition.rb:524:in `materialize':
Could not find nokogiri-1.14.1, mini_portile2-2.8.1 in locally installed gems (Bundler::GemNotFound)

I tried adding

RUN bundle lock --add-platform x86_64-linux

into Dockerfile, following: https://stackoverflow.com/questions/66308227/could-not-find-nokogiri-1-11-1-in-any-of-the-sources-while-deploying-a-heroku-ap
but the result is the same.

Can you reproduce this error?
I used the following code version: d453a44
but the problem persists since few commits.

@EwaSniegowskaPCSS
Copy link
Author

I updated the Dockerfile with newer Ruby version:
FROM ruby:2.7

but I'm getting another runtime error:

iqvoc-web-1  | /bundle/ruby/2.7.0/gems/delayed_job-4.1.10/lib/delayed/command.rb:5:in `rescue in <main>':
You need to add gem 'daemons' to your Gemfile if you wish to use it. (RuntimeError)`

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

1 participant