jglovier / resume-template

:page_facing_up::briefcase::tophat: A simple Jekyll + GitHub Pages powered resume template.
http://resume-template.joelglovier.com
MIT License
1.87k stars 1.76k forks source link

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

Open MichalMaler opened 3 years ago

MichalMaler commented 3 years ago

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 commented 3 years ago

Thanks for reporting @MichalMaler! :bow:

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 :v:

MichalMaler commented 3 years ago

Hello Joel! Well ,the problem was that during the first installation step, some gems for Ruby coulndt been installed. The problem was that they needed Ruby version 2.2 (but as I know from my friend, it also work with ruby 2.7). Fedora 34, has Ruby 3.0 by default, so anybody who has a system newer than Fedora 33 will have this problem. The backport compatibility with the older versions of Ruby is the problem. I am not a coder, so cant provide any solution myself, but I am sad that I can't have this very well looking CV! :)

On Mon, Sep 20, 2021 at 8:52 PM Joel Glovier @.***> wrote:

Thanks for reporting @MichalMaler https://github.com/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 ✌️

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jglovier/resume-template/issues/112#issuecomment-923189515, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALR2PRS4DGESHTWHJLAB73TUC57HLANCNFSM5ELO7MKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- With kind regards, Michal Maléř

MichalMaler commented 3 years ago

Here is the screenshot: [image: image.png]

On Mon, Sep 20, 2021 at 8:52 PM Joel Glovier @.***> wrote:

Thanks for reporting @MichalMaler https://github.com/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 ✌️

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jglovier/resume-template/issues/112#issuecomment-923189515, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALR2PRS4DGESHTWHJLAB73TUC57HLANCNFSM5ELO7MKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- With kind regards, Michal Maléř

ickfosec commented 3 years ago

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 commented 1 year ago

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 commented 1 year ago

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