How can I update Ruby to 3.2.4?

Infos:

  • Used Zammad version: 6.3.1
  • Used Zammad installation type: package
  • Operating system: Debian 12
  • Browser + version: Chrome 125

I have the following message in the monitoring of Zammad:

  • emails that could not be processed: 18
    image

I tried the command rake zammad:email_parser:failed_email:export_all and get the error Your Ruby version is 3.1.2, but your Gemfile specified 3.2.4

I thought a Zammad update would automatically update Ruby?

So first I have to update Ruby to solve my real problem. How can I do that?

With help of ChatGPT I updated with rvm to Ruby 3.2.4, but now I got the following error:

root@zammad:/opt/zammad# rake zammad:email_parser:failed_email:export_all
Could not find mysql2-0.5.6, pg-1.5.6, rszr-1.5.0 in locally installed gems
Run `bundle install` to install missing gems.

I already ran bundle install but got the following error:
An error occurred while installing rszr (1.5.0), and Bundler cannot continue

You should run the commands fitting to your system.
A package installation requires you to use zammad run ... as mentioned in the documentation.

So e.g. zammad run rake zammad:email_parser:failed_email:export_all

1 Like

Thank you very much. That was my solution.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.