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.2.0: warning: undefining the allocator of T_DATA class Redcarpet::Markdown #732

Closed
mattbrictson opened this issue Dec 5, 2022 · 6 comments

Comments

@mattbrictson
Copy link

I am using Ruby 3.2.0.preview3.

When trying to use redcarpet, I get the following warning.

$ irb                                             
>> require "redcarpet"
true
>> Redcarpet::Markdown.new(Redcarpet::Render::HTML.new)
(irb):2: warning: undefining the allocator of T_DATA class Redcarpet::Markdown

There is more information on this warning and a suggested fix here: ueno/ruby-gpgme#157

@mattbrictson
Copy link
Author

Oops, I see this was already fixed in #721. Closing.

@mattbrictson
Copy link
Author

Could we get a new gem release to fix this? Considering #721 was merged back in April 2022.

@djrobby
Copy link

djrobby commented Dec 27, 2022

@mattbrictson did you ever figure this out?

@mattbrictson
Copy link
Author

@djrobby yes, for the time being I have to depend on the master branch by putting this in my Gemfile:

gem "redcarpet", github: "vmg/redcarpet", branch: "master"

@djrobby
Copy link

djrobby commented Dec 28, 2022

@mattbrictson Yeah, that was my first goto solution but it didn't work either. I'm on ruby-3.2.0. I guess we'll wait and see. Thank you!

@unicornzero
Copy link

Could we get a new gem release for this, please?

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

3 participants