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

Install failed in Ruby 3.3.6 #334

Open
killernova opened this issue Nov 19, 2024 · 3 comments
Open

Install failed in Ruby 3.3.6 #334

killernova opened this issue Nov 19, 2024 · 3 comments

Comments

@killernova
Copy link

Rufo can be installed in Ruby 3.1.2, but failed in Ruby 3.3.6
Error message:

Exception while verifying jaro_winkler-1.6.0.gem
ERROR:  While executing gem ... (NoMethodError)
    undefined method `size' for nil:NilClass

    @read += ret.size
@kzkn
Copy link
Member

kzkn commented Nov 22, 2024

I cannot reproduce it. What are the steps to reproduce the problem?

$ gem install rufo
Fetching rufo-0.18.0.gem
Successfully installed rufo-0.18.0
Parsing documentation for rufo-0.18.0
Installing ri documentation for rufo-0.18.0
Done installing documentation for rufo after 0 seconds
1 gem installed

$ gem --version
3.5.23

$ ruby -v
ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [x86_64-linux]

@killernova
Copy link
Author

That's weird. The ruby was installed by rbenv on MACOS 15.0

ruby -v
ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [arm64-darwin24]

gem install rufo
Fetching rufo-0.18.0.gem
Exception while verifying /Users/killernova/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/cache/rufo-0.18.0.gem
ERROR:  While executing gem ... (Gem::Package::FormatError)
    end of file reached in /Users/killernova/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/cache/rufo-0.18.0.gem

@kzkn
Copy link
Member

kzkn commented Dec 9, 2024

What is the jaro_winkler gem and is it related to rufo?
Does this happen with other gems than rufo?
Does it happen with other versions of rufo?

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

2 participants