passenger-docker icon indicating copy to clipboard operation
passenger-docker copied to clipboard

An error occurred while installing ovirt-engine-sdk (4.2.4) with passenger-ruby25:1.0.0

Open thierryfornetti opened this issue 8 years ago • 1 comments

I'm working on a Rails server running on docker that use passenger-ruby25 as image. Yesterday I built my image without problem, today I get an error.

An error occurred while installing ovirt-engine-sdk (4.2.4), and Bundler cannot
continue.

Since yesterday the new version 1.0.0 was released, I've tried the set the image version in my dockerfile and with that I could successfully build.

FROM phusion/passenger-ruby25:0.9.35

Some more informations about my project, that may be related: Dockerfile

#Dockerfile
FROM phusion/passenger-ruby25
...

# Ensure that our apt package list is updated and install a few
# packages to ensure that we can compile assets
RUN apt-get update && apt-get install -y -o Dpkg::Options::="--force-confold" \
imagemagick \
nodejs \
ffmpeg
...
RUN gem install bundler --no-ri --no-rdoc 
...
RUN bundle install

# Install library for carrierwave-video-thumbnailer
RUN apt-get --yes install ffmpegthumbnailer

...
CMD ["/sbin/my_init"]

Gemfile

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.1.4'
# Use mysql as the database for Active Record
gem 'mysql2', '>= 0.3.18', '< 0.5'
# Use Puma as the app server
gem 'puma', '~> 3.7'
...
# Required for delayed jobs
gem 'sidekiq',  '~>4.0'
...
# File upload for staging/production
gem 'fog', '~> 1.42.0'
gem "fog-aws"
...

I list here some links that I've found about the problem, maybe they can help Rails broken - bundle not working - ovirt-engine-sdk - ERROR: Failed to build gem native extension. Cloud9 AWS Error installing ovirt-engine-sdk gem

For now I will simply use the previous version of passenger-ruby25:0.9.35

thierryfornetti avatar Nov 08 '18 10:11 thierryfornetti

Does this still happen with passenger-ruby25:2.0.0?

CamJN avatar Oct 04 '21 10:10 CamJN