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

Update Ruby version for 22.04 #807

Merged
merged 2 commits into from
May 31, 2023
Merged

Update Ruby version for 22.04 #807

merged 2 commits into from
May 31, 2023

Conversation

tylerjw
Copy link
Member

@tylerjw tylerjw commented May 31, 2023

Description

Fixes #806

Copy link
Contributor

@rhaschke rhaschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This version of html-proofer detects a lot of spurious errors.

Gemfile Outdated
gem 'rubyzip', '~> 2.3.0'
gem 'webrick', '~> 1.8', '>= 1.8.1'
gem "github-pages", group: :jekyll_plugins
gem 'html-proofer', '~> 3.4'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you downgrade html-proofer to a really old version?

Gemfile Outdated
gem 'github-pages'
gem 'html-proofer', '~> 3.19.4'
gem 'rubyzip', '~> 2.3.0'
gem 'webrick', '~> 1.8', '>= 1.8.1'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it really necessary to enforce >= 1.8.1 as well? ~>1.8 means any version >= 1.8 but smaller 2.0. I guess the latest will be chosen anyway.

Gemfile Outdated
gem 'webrick', '~> 1.8', '>= 1.8.1'
gem "github-pages", group: :jekyll_plugins
gem 'html-proofer', '~> 3.4'
gem 'rubyzip', '~> 2.3', '>= 2.3.2'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above.

Suggested change
gem 'rubyzip', '~> 2.3', '>= 2.3.2'
gem 'rubyzip', '~> 2.3'

@tylerjw
Copy link
Member Author

tylerjw commented May 31, 2023

@rhaschke thank you for the review. I've fixed up this PR based on your feedback. The old version of htmlproofer was a mistake.

Copy link
Contributor

@rhaschke rhaschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setup changes look good now.
html-proofer is still freaking out (since #801, #802 didn't change that).

@tylerjw
Copy link
Member Author

tylerjw commented May 31, 2023

I'll merge this. I tried looking into the html-proofer errors today and don't understand what is happening. I posted internally here about it, hoping someone who better understands this problem might help.

@tylerjw tylerjw merged commit e5a66e6 into moveit:main May 31, 2023
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

Successfully merging this pull request may close these issues.

Building locally is broken on Ubuntu 22.04
2 participants