Skip to content

[BUG] cannot load such file #181

@maxihaindl

Description

@maxihaindl

Describe the bug

I upgraded ruby to 3.4.4 via homebrew. now starting doing runs in an error

To Reproduce

use ruby version 3.4.4
run brew gem install doing

Steps to reproduce the behavior:

  1. Execute command '...'
  2. See error
maximilian.haindl@tuerbookpro:~$ doing --version
<internal:/opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require': cannot load such file -- csv (LoadError)
	from <internal:/opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
	from /opt/homebrew/Cellar/gem-doing/2.1.86/gems/doing-2.1.86/lib/doing.rb:7:in '<top (required)>'
	from <internal:/opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
	from <internal:/opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
	from /opt/homebrew/Cellar/gem-doing/2.1.86/gems/doing-2.1.86/bin/doing:8:in '<top (required)>'
	from /opt/homebrew/bin/doing:6:in 'Kernel#load'
	from /opt/homebrew/bin/doing:6:in '<main>'

maximilian.haindl@tuerbookpro:~$ GLI_DEBUG=true DOING_DEBUG=true brew gem install doing
gem-doing 2.1.86 is already installed but outdated (so it will be upgraded).
==> Fetching gem-doing
==> Fetching doing from gem source
Downloaded doing-2.1.88
Warning: Cannot verify integrity of 'doing-2.1.88.gem'.
No checksum was provided.
For your reference, the checksum is:
  sha256 "577a00018b9252c971b03480f04d920452c9f45979d6b386615f43cf37d756eb"
==> Upgrading gem-doing
  2.1.86 -> 2.1.88
==> /opt/homebrew/opt/ruby/bin/gem install /Users/maximilian.haindl/Library/Caches/Homebrew/doing-2.1.88.gem --no-document --no-wrapper --no-user-install --install-dir /opt/homebrew/Cellar/gem-doing/2.1.88 --bindir /opt/homebrew/Cellar/gem-d
Last 15 lines from /Users/maximilian.haindl/Library/Logs/Homebrew/gem-doing/01.gem:
	from /opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/mkmf.rb:370:in 'block in MakeMakefile::Logging.postpone'
	from /opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/mkmf.rb:340:in 'MakeMakefile::Logging.open'
	from /opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/mkmf.rb:366:in 'MakeMakefile::Logging.postpone'
	from /opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/mkmf.rb:1069:in 'MakeMakefile#checking_for'
	from /opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/mkmf.rb:1200:in 'MakeMakefile#have_func'
	from extconf.rb:8:in '<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

/opt/homebrew/Cellar/gem-doing/2.1.88/extensions/arm64-darwin-24/3.4.0/io-console-0.8.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /opt/homebrew/Cellar/gem-doing/2.1.88/gems/io-console-0.8.0 for inspection.
Results logged to /opt/homebrew/Cellar/gem-doing/2.1.88/extensions/arm64-darwin-24/3.4.0/io-console-0.8.0/gem_make.out

Please execute the problematic command with the prefix GLI_DEBUG=true DOING_DEBUG=true and include the output with your bug report. E.g. GLI_DEBUG=true DOING_DEBUG=true doing completion --type zsh.

Expected behavior

A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • Platform: mac m1
  • OS: 15.4.1 (24E263)
  • Version [e.g. 22]

Doing version

  • Result of doing -v

Ruby version

  • Result of ruby -v

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions