-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Makefile: Prefer Ruby 2.7 if available #58
Conversation
Not sure if the naming of |
I'm on Ubuntu so it's unlikely to help with that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if the naming of
bundle2.7
is specific to Debian or something we can expect to be available elsewhere. Can someone check on your distros pls?
I believe it is. Neither Void nor Arch ship ruby 2.7 anymore (and both tell you to install bundler with gem install
anyways and don't have a separate package for it). Nix's ruby
package is still on 2.7.5 by default, but AFAICT the installed bundler
executable is just called that. Though I guess if it helps some people that's already better than the current situation
Oh crap. I wish there was something like Python's |
Oh, actually I was talking nonesense. Void does not have a ruby2.7 but Arch has—seems like I just missed it. It installs
At least for Void it seems to be the latter :/ |
Okay, that's helpful :-) |
Ruby 3.0, which is now default in Debian (and likely many other distros), isn't officially supported by the github/pages-gem and some of its dependencies (despite patches being available for over a year—WTF), so `make serve` doesn't work. As a workaround, prefer Ruby 2.7 (the "bundle2.7" command on Debian-based distros, "bundle-2.7" on Arch) if available. Related: xmonad#37
Ruby 3.0, which is now default in Debian (and likely many other distros), isn't officially supported by the github/pages-gem and some of its dependencies (despite patches being available for over a year—WTF), so
make serve
doesn't work.As a workaround, prefer Ruby 2.7 (the "bundle2.7" command) if available.
Related: #37