Rogue Highlighter 4.0.0 is not compatible with built-in Ruby #204

Closed
opened 2026-01-19 18:29:38 +00:00 by michael · 0 comments
Owner

Originally created by @golbiga on GitHub.

Originally assigned to: @golbiga on GitHub.

As of version 4.0.0, rogue highlighter is not compatible with any version of ruby < 2.7.0. The following error happens when trying to run generate_guidance.

Fetching rouge 4.0.0
Installing rouge 4.0.0
Gem::RuntimeRequirementNotMetError: rouge requires Ruby version >= 2.7. The current ruby version is 2.6.10.210.
An error occurred while installing rouge (4.0.0), and Bundler cannot continue.
Make sure that `gem install rouge -v '4.0.0' --source 'https://rubygems.org/'` succeeds before bundling.

Specifying version 3.30.0 for Rogue in the Gemfile will resolve this issue, until the built-in Ruby is updated or removed.

Originally created by @golbiga on GitHub. Originally assigned to: @golbiga on GitHub. As of version 4.0.0, rogue highlighter is not compatible with any version of ruby < 2.7.0. The following error happens when trying to run generate_guidance. ``` Fetching rouge 4.0.0 Installing rouge 4.0.0 Gem::RuntimeRequirementNotMetError: rouge requires Ruby version >= 2.7. The current ruby version is 2.6.10.210. An error occurred while installing rouge (4.0.0), and Bundler cannot continue. Make sure that `gem install rouge -v '4.0.0' --source 'https://rubygems.org/'` succeeds before bundling. ``` Specifying version `3.30.0` for Rogue in the Gemfile will resolve this issue, until the built-in Ruby is updated or removed.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: usnistgov/macos_security#204