Skip to content

Passenger will not preload rack app after Bundler 2.5.11, if correct bundler is not installed #2567

@madwire

Description

@madwire

Issue report

Please try with the newest version of Passenger to avoid issues that have already been fixed

Question 1: What is the problem?

I don't know what changed between RubyGems 3.5.11 and 3.5.12. But from 3.5.12 onwards, passenger will not load any rack app, and I've tested most versions, including the latest, 3.5.20. If I switch back to 3.5.11, everything starts working again.

RubyGems v3.5.12 +

App output: /usr/local/bin/ruby: No such file or directory -- Passenger AppPreloader: /app/path (LoadError)

Note: that the app directory had a Gemfile (and lock) in it, but I rewrote the config.ru to remove rails and the app it self from my test.

config.ru:

run do |env|
  [200, {}, ["Hello World"]]
end

Your answer:

Question 2: Passenger version and integration mode:

  • open source 6.0.23 standalone

Your answer:

Question 3: OS or Linux distro, platform (including version):

  • Debian GNU/Linux 12 (bookworm), x86_64 and aarch64

Your answer:

Question 4: Passenger installation method:

Your answer:

  • RubyGems + Gemfile
  • RubyGems, no Gemfile
  • Phusion APT repo
  • Phusion YUM repo
  • OS X Homebrew
  • source tarball
  • Other, please specify:

Question 5: Your app's programming language (including any version managers) and framework (including versions):

  • Ruby 3.3.5, Rails 7.1.x but in my tests I used an hello world rackup app.

Your answer:

Question 6: Are you using a PaaS and/or containerization? If so which one?

  • Docker-based on the official ruby image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions