Skip to content

rodrigobdz/passenger-full-ruby-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

passenger-full-ruby-bug

MCVE (Minimal, Complete, and Verifiable example) to reproduce Ruby bug in phusion/passenger-full:1.0.1.

Description

Expected behavior: Ruby 2.5.3 is configured as default as described in phusion/passenger-docker's README.

Actual behavior: jruby 9.2.0.0 is the default instead.

Steps to reproduce

  1. Build Docker image

    docker build -t passenger-full-mvce .
  2. Run container

    docker run --rm -t -i passenger-full-mvce:latest  bash -l
  3. Check default Ruby version

     ruby --version
     # jruby 9.2.0.0 (2.5.0) 2018-05-24 81156a8 OpenJDK 64-Bit Server VM 25.191-b12 on 1.8.0_191-8u191-b12-0ubuntu0.18.04.1-b12 +jit [linux-x86_64]
     rvm list
     # =* jruby-9.2.0.0 [ x86_64 ]
     #    ruby-2.3.8 [ x86_64 ]
     #    ruby-2.4.5 [ x86_64 ]
     #    ruby-2.5.3 [ x86_64 ]
     #
     # # => - current
     # # =* - current && default
     # #  * - default

License

MIT © 2018 Rodrigo Bermúdez Schettino

Releases

No releases published

Packages

No packages published