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

Ruby 2.7 support #1577

Open
prunkdump opened this issue Sep 20, 2022 · 2 comments
Open

Ruby 2.7 support #1577

prunkdump opened this issue Sep 20, 2022 · 2 comments

Comments

@prunkdump
Copy link

Hello !

I upgraded my webserver to Debian Bullseye that is only shipped with Ruby 2.7.

Actually I can't manage to get Concerto working anymore.

I have successfully bundled it adding the fallowing line in Gemfile
gem 'bigdecimal', '~>1.4.4'

But an error appear when running in production :

  Message from application: superclass mismatch for class Mark (TypeError)
  /usr/lib/ruby/2.7.0/psych/parser.rb:34:in `<class:Parser>'
  /usr/lib/ruby/2.7.0/psych/parser.rb:33:in `<module:Psych>'
  /usr/lib/ruby/2.7.0/psych/parser.rb:2:in `<top (required)>'
  /usr/lib/ruby/2.7.0/psych.rb:20:in `require'
  /usr/lib/ruby/2.7.0/psych.rb:20:in `<top (required)>'
  /usr/lib/ruby/2.7.0/yaml.rb:4:in `require'
  /usr/lib/ruby/2.7.0/yaml.rb:4:in `<top (required)>'
  /usr/share/concerto/vendor/bundle/ruby/2.7.0/gems/railties-4.2.11.3/lib/rails/application.rb:2:in `require'
  /usr/share/concerto/vendor/bundle/ruby/2.7.0/gems/railties-4.2.11.3/lib/rails/application.rb:2:in `<top (required)>'
  /usr/share/concerto/vendor/bundle/ruby/2.7.0/gems/railties-4.2.11.3/lib/rails.rb:11:in `require'
  /usr/share/concerto/vendor/bundle/ruby/2.7.0/gems/railties-4.2.11.3/lib/rails.rb:11:in `<top (required)>'
  /usr/share/concerto/vendor/bundle/ruby/2.7.0/gems/railties-4.2.11.3/lib/rails/all.rb:1:in `require'
  /usr/share/concerto/vendor/bundle/ruby/2.7.0/gems/railties-4.2.11.3/lib/rails/all.rb:1:in `<top (required)>'
  /usr/share/concerto/config/application.rb:3:in `require'
  /usr/share/concerto/config/application.rb:3:in `<top (required)>'
  /usr/share/concerto/config/environment.rb:2:in `require'
  /usr/share/concerto/config/environment.rb:2:in `<top (required)>'
  config.ru:3:in `require'
  config.ru:3:in `block in <main>'
  /usr/share/concerto/vendor/bundle/ruby/2.7.0/gems/rack-1.6.13/lib/rack/builder.rb:55:in `instance_eval'
  /usr/share/concerto/vendor/bundle/ruby/2.7.0/gems/rack-1.6.13/lib/rack/builder.rb:55:in `initialize'
  config.ru:1:in `new'
  config.ru:1:in `<main>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `eval'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `preload_app'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:156:in `<module:App>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'

Does someone manage to get Concerto working with ruby2.7 or with Debian Bullseye and Apache passenger ?

Regards,

Baptiste.

@zr2d2
Copy link
Member

zr2d2 commented Sep 20, 2022 via email

@prunkdump
Copy link
Author

Thanks you very much.

I used to code using the Ruby language. But I have no RAIL skills.

I will give RAIL a try as soon as possible.

Regards,

Baptiste.

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

2 participants