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 compatibility #93

Merged
merged 4 commits into from
Aug 8, 2024
Merged

Ruby 3.2.0 compatibility #93

merged 4 commits into from
Aug 8, 2024

Conversation

henrycatalinismith
Copy link
Owner

No description provided.

@henrycatalinismith henrycatalinismith marked this pull request as ready for review August 7, 2024 19:50
@henrycatalinismith
Copy link
Owner Author

First error is from the old version of Rugged.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/opt/hostedtoolcache/Ruby/3.2.0/x64/bin/$(RUBY_BASE_NAME)
	--with-sha1dc
	--without-sha1dc
	--use-system-libraries
extconf.rb:101:in `block in <main>': undefined method `exists?' for Dir:Class
(NoMethodError)
    Dir.mkdir("build") if !Dir.exists?("build")
                              ^^^^^^^^
Did you mean?  exist?
	from extconf.rb:100:in `chdir'
	from extconf.rb:100:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can
be found here:
/opt/hostedtoolcache/Ruby/3.2.0/x64/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/rugged-1.1.0/mkmf.log

Fixed by 08fe54d.

@henrycatalinismith
Copy link
Owner Author

Next error

An error occurred while loading spec_helper. - Did you mean?
                    rspec ./spec/spec_helper.rb
Failure/Error: require "mail"
LoadError:
  cannot load such file -- net/smtp

@henrycatalinismith
Copy link
Owner Author

Fixed in ae9d3cc. Context in mikel/mail#1461.

@henrycatalinismith henrycatalinismith merged commit 1170e7e into main Aug 8, 2024
1 check passed
@henrycatalinismith henrycatalinismith deleted the ruby-3.2.0 branch August 8, 2024 07:54
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

Successfully merging this pull request may close these issues.

1 participant