mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

$ rbenv local 3.2.0
$ bundle install
:
Resolving dependencies...
Could not find compatible versions

Because microformats >= 4.4.1 depends on Ruby >= 2.4, < 3.2
and microformats >= 4.4, < 4.4.1 could not be found in rubygems repository
https://rubygems.org/ or installed locally,
microformats >= 4.4 requires Ruby >= 2.4, < 3.2.
So, because Gemfile depends on microformats ~> 4.4
and current Ruby version is = 3.2.0,
version solving has failed.

ほげー。rc1では見逃してもらってたのにな

rubygems.orgRubyGems.org | your community gem host

この子はtestグループだけかうーん

とりゃ

diff --git a/Gemfile b/Gemfile
index d29703849f..58c5ac9e29 100644
--- a/Gemfile
+++ b/Gemfile
@@ -124,7 +124,7 @@ group :test do
gem 'climate_control', '~> 0.2'
gem 'faker', '~> 3.0'
gem 'json-schema', '~> 3.0'
- gem 'microformats', '~> 4.4'
+ gem 'microformats', '~> 4.4', git: 'https://github.com/tenderlove/microformats-ruby.git', branch: 'remove-ruby-limit'
gem 'rack-test', '~> 2.0'
gem 'rails-controller-testing', '~> 1.0'
gem 'rspec_junit_formatter', '~> 0.6'

GitHubGitHub - tenderlove/microformats-ruby: Ruby gem that parse HTML containing microformats/microformats2 and returns Ruby objects, a Ruby hash or a JSON hashRuby gem that parse HTML containing microformats/microformats2 and returns Ruby objects, a Ruby hash or a JSON hash - GitHub - tenderlove/microformats-ruby: Ruby gem that parse HTML containing micr...

rc1でつくったのgemにはある.soがリリース版でつくったgemには無い

$ cd vendor/bundle/ruby
$ file 3.2.0+3/gems/blurhash-0.1.6/lib/../ext/blurhash/encode.so
3.2.0+3/gems/blurhash-0.1.6/lib/../ext/blurhash/encode.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=5f4fc92a711dc53b3d453922975ca3c89688f1ea, with debug_info, not stripped
$ file 3.2.0/gems/blurhash-0.1.6/lib/../ext/blurhash/encode.so
3.2.0/gems/blurhash-0.1.6/lib/../ext/blurhash/encode.so: cannot open `3.2.0/gems/blurhash-0.1.6/lib/../ext/blurhash/encode.so' (No such file or directory)

soじたいはできているけれどrequireするパスからは見えないのかな

$ find 3.2.0 -name encode.so
3.2.0/extensions/x86_64-linux/3.2.0/blurhash-0.1.6/encode.so
3.2.0/gems/blurhash-0.1.6/lib/encode.so

zunda

ビルド済みのディレクトリには有意な違いは見られない

$ diff -ur 3.2.0{+3,}/gems/blurhash-0.1.6/
Only in 3.2.0+3/gems/blurhash-0.1.6/ext/blurhash: encode.o
Only in 3.2.0+3/gems/blurhash-0.1.6/ext/blurhash: encode.so
diff -ur 3.2.0+3/gems/blurhash-0.1.6/ext/blurhash/Makefile 3.2.0/gems/blurhash-0.1.6/ext/blurhash/Makefile
--- 3.2.0+3/gems/blurhash-0.1.6/ext/blurhash/Makefile 2022-12-09 20:39:32.863890039 -1000
+++ 3.2.0/gems/blurhash-0.1.6/ext/blurhash/Makefile 2022-12-25 10:14:22.229106750 -1000
:
Only in 3.2.0+3/gems/blurhash-0.1.6/ext/blurhash: .sitearchdir.time
:

ん。.sitearchdir.time?

$ git clean -dxf; rbenv local 3.2.0; bundle install; bundle exec rake

は成功するのなあ

$ find . -name encode.so
./tmp/x86_64-linux/encode/3.2.0/encode.so
./tmp/x86_64-linux/stage/ext/blurhash/encode.so
./ext/blurhash/encode.so