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

Incompatible rubygems version with Heroku-20 #264

Open
jippylong12 opened this issue May 1, 2024 · 0 comments
Open

Incompatible rubygems version with Heroku-20 #264

jippylong12 opened this issue May 1, 2024 · 0 comments

Comments

@jippylong12
Copy link

What version of Bootstrap Email are you using?

v1.5.1

How are you compiling?

bundler

Code example

Gemfile

gem "bootstrap-email", "~> 1.4"

Heroku Build Log

       Fetching gem metadata from https://rubygems.org/.......
       Fetching gem metadata from https://rubygems.org/.
       Resolving dependencies........
       sass-embedded-1.63.6-x86_64-linux-musl requires rubygems version >= 3.3.22,
       which is incompatible with the current version, 3.1.6

Describe your issue

Deployed on Heroku today on Heroku-20 stack Ruby 2.7.7. Received strange error. Identified this gem as the source.

Looked at changelogs from 1.4 to 1.5 and I highly suggest that 1.5 be yanked and resubmitted as 2.0 given the major under-the-hood changes in the 1.5 update.

Could still be on my end though as I'm not sure why it used sass-embedded v 1.63.6 when it could have pulled 1.53+. Since 1.58.3 they've had the Rubygems version requirement.

I just wanted to post it here in case anyone else ran into the issue. Update your Gemfile

gem "bootstrap-email", "1.4.1"

To prevent Heroku from pulling and building v1.5. Just as a stopgap to keep the system running.

Rubygems version on Heroku appears to be Ruby version dependent .

So you'll need to upgrade your Ruby version to 3.1.5 so that Heroku will use the RubyGems v3.3.27

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

1 participant