Skip to content

An error occurred while installing mysql2 (0.5.6), and Bundler cannot continue #63721

@alealcruz

Description

@alealcruz

Name and Version

bitnami/rails:latest

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. Ubuntu 22.04 LTS command line interface
  2. curl -LO https://raw.githubusercontent.com/bitnami/containers/main/bitnami/rails/docker-compose.yml
  3. docker-compose up

output.txt

imagen

What is the expected behavior?

ruby on rails 7 application normal execution:

myapp_1    | => Rails 7.0.4.3 application starting in development 
myapp_1    | => Run `bin/rails server --help` for more startup options
myapp_1    | Puma starting in single mode...
myapp_1    | * Puma version: 5.6.5 (ruby 3.2.2-p53) ("Birdie's Version")
myapp_1    | *  Min threads: 5
myapp_1    | *  Max threads: 5
myapp_1    | *  Environment: development
myapp_1    | *          PID: 1
myapp_1    | * Listening on http://0.0.0.0:3000
myapp_1    | Use Ctrl-C to stop

What do you see instead?

myapp_1    | /opt/bitnami/ruby/lib/ruby/gems/3.2.0/gems/bundler-2.5.5/lib/bundler/worker.rb:54:in
myapp_1    | `process_queue'
myapp_1    | /opt/bitnami/ruby/lib/ruby/gems/3.2.0/gems/bundler-2.5.5/lib/bundler/worker.rb:90:in
myapp_1    | `block (2 levels) in create_threads'
myapp_1    | 
myapp_1    | An error occurred while installing mysql2 (0.5.6), and Bundler cannot continue.
myapp_1    | 
myapp_1    | In Gemfile:
myapp_1    |   mysql2
myapp_myapp_1 exited with code 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    on-holdIssues or Pull Requests with this label will never be considered stalerailstech-issuesThe user has a technical issue about an application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions