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 3.0 - Unsupported ( installed with Fedora 34) #112

Open
MichalMaler opened this issue Sep 20, 2021 · 6 comments
Open

Ruby 3.0 - Unsupported ( installed with Fedora 34) #112

MichalMaler opened this issue Sep 20, 2021 · 6 comments

Comments

@MichalMaler
Copy link

Hello!

Fedora 34 now ships with Ruby 3.0 by default, which might be great news for Ruby developers. However, for those who might still be relying on older version of Ruby to run their stuff (eg: me)

Please, could this lovely template bein updated to work with Ruby 3.0?

Durring the installation of budle, an error message occurs:

• ~/Git/GitHub/resume-template/ gh-pages bundle install
Fetching gem metadata from https://rubygems.org/
Fetching gem metadata from https://rubygems.org/.........
minitest-5.14.1 requires ruby version ~> 2.2, which is incompatible with the current version, ruby 3.0.2p107
@jglovier
Copy link
Owner

Thanks for reporting @MichalMaler! 🙇

I'm not really very familiar with Fedora or supporting older versions of ruby, but I'll be glad to look into this when I have some time for it. I'm not sure when that will be, so in the meantime if you discover a fix could you open a pull request?

Or even if you have any tips on what it will take to resolve, that would give me a big head start and help me get to a PR faster.

Warmly,
Joel ✌️

@MichalMaler
Copy link
Author

MichalMaler commented Sep 20, 2021 via email

@MichalMaler
Copy link
Author

MichalMaler commented Sep 20, 2021 via email

@ickfosec
Copy link

I encountered the same issue as @MichalMaler when trying to use Ruby 3 & Jekyll, but I eventually got it working without any modifications to the project itself.

My versions:
Ruby: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-darwin21]
RubyGems: 3.2.31

From the project folder:

  1. Deleted Gemfile.lock
  2. Ran gem update --system
  3. Ran gem update
  4. Ran bundle update
  5. Ran bundle install
  6. Ran bundle add webrick (Possibly a Jekyll-specific requirement, I know this is required for all my other Jekyll projects and I was getting the classic webrick error until it was added)

Some of these steps are likely redundant. I am an extreme novice with Ruby, but I believe the issue stems from outdated gems/dependencies included in the project when you clone it locally. After following these steps I was able to successfully get everything updated and working on Ruby 3.

@boldandbusted
Copy link

I encountered the same issue as @MichalMaler when trying to use Ruby 3 & Jekyll, but I eventually got it working without any modifications to the project itself.

My versions: Ruby: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-darwin21] RubyGems: 3.2.31

From the project folder:

  1. Deleted Gemfile.lock
  2. Ran gem update --system
  3. Ran gem update
  4. Ran bundle update
  5. Ran bundle install
  6. Ran bundle add webrick (Possibly a Jekyll-specific requirement, I know this is required for all my other Jekyll projects and I was getting the classic webrick error until it was added)

Some of these steps are likely redundant. I am an extreme novice with Ruby, but I believe the issue stems from outdated gems/dependencies included in the project when you clone it locally. After following these steps I was able to successfully get everything updated and working on Ruby 3.

I think this Issue can be closed - I did this fix before coming here, and it works. Here's my resume that uses this excellent template: https://resume.boldandbusted.com/ . :) Cheers, and thanks for this code! :)

@hojongs
Copy link

hojongs commented Jul 23, 2023

I've resolved the issue after following @ickfosec's instructions above. Thank you!

Ruby version: ruby 3.2.0 (2022-12-25 revision a528908271) [arm64-darwin21]
OS version: macOS Monterey 12.6 MacBook Pro M1 Max
RubyGem version: 3.4.17

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

5 participants