remote: -----> Using Ruby version: ruby-3.2.0

remote: -----> Using Ruby version: ruby-3.2.0
remote: Ruby version change detected. Clearing bundler cache.
remote: Old: ruby 3.2.0rc1 (2022-12-07) [x86_64-linux]
remote: New: ruby 3.2.0 (2022-12-25 revision a528908271) [x86_64-linux]

えええ

remote: !
remote: ! Could not detect rake tasks
remote: ! ensure you can run `$ bundle exec rake -P` against your app
remote: ! and using the production group of your Gemfile.
remote: ! rake aborted!
remote: ! LoadError: Could not open library '/tmp/build_4335beaf/vendor/bundle/ruby/3.2.0/gems/blurhash-0.1.6/lib/../ext/blurhash/encode.so': /tmp/build_4335beaf/vendor/bundle/ruby/3.2.0/gems/blurhash-0.1.6/lib/../ext/blurhash/encode.so: cannot open shared object file: No such file or directory
remote: ! /tmp/build_4335beaf/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi/library.rb:145:in `block in ffi_lib'

ビルドはしてくれてたはず

remote: Fetching blurhash 0.1.6
remote: Installing blurhash 0.1.6 with native extensions

同じcommitをもう1度pushしてみたら同じように止まる。ちゃんとみなくちゃわね。起きて洗濯しよう。

うりゃ

$ cd ~/.rbenv/plugins/ruby-build; git pull; rbenv install 3.2.0
:
Installing ruby-3.2.0...

おー

$ 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.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'

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

再起動いいどう!!

$ RAILS_ENV=test bundle exec rake -P
rake aborted!
LoadError: Could not open library '/home/zunda/c/src/github.com/zunda/mastodon/vendor/bundle/ruby/3.2.0/gems/blurhash-0.1.6/lib/../ext/blurhash/encode.so': /home/zunda/c/src/github.com/zunda/mastodon/vendor/bundle/ruby/3.2.0/gems/blurhash-0.1.6/lib/../ext/blurhash/encode.so: cannot open shared object file: No such file or directory

おや。ローカルに再現できたね。

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

@ponapalt ヒラサポートにできる範囲で中からもつっついてはいるんですけどT_T

@ponapalt こちらからの言い訳をお客様にお届けできてそれが公開情報にならないと詳しく書けないのですが、そういう感じではないです…

あーもーうんこー

そうだ!こういうときこそ、

にゃーん

GitHub - ruby/ruby: The Ruby Programming Language




こ さ ん

にゃーんにゃーん

お仕事iPhoneの画面の回転を抑制したくて見つけたんだけどコントロールセンターって何(´・ω・`)

iPhoneの画面の向きを変更する/ロックする - Apple サポート (日本) support.apple.com/ja-jp/guide/

ホームボタンの無いiPhoneの場合画面右上から下にスワイプ。おっさんには覚えられない。

Apple製品のUIなんでこんなに難しいん

$ find . -name encode.so
:
./3.2.0+3/extensions/x86_64-linux/3.2.0+3/blurhash-0.1.6/encode.so
./3.2.0+3/gems/blurhash-0.1.6/ext/blurhash/encode.so
./3.2.0+3/gems/blurhash-0.1.6/lib/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

ext/blurhash/encode.soが無くなってlib/encode.soだけにインストールされるようになったのかな

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

$ 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?


2022-12-25 13:12:47 ぁぅの投稿 awu@fedibird.com

このアカウントは、notestockで公開設定になっていません。

$ 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

和尚が二人で

2022-12-25 13:27:41 まめもの投稿 mamemomonga@momo.mame.moe

このアカウントは、notestockで公開設定になっていません。

ステレオになってたw

$ rbenv local 3.2.0-rc1
$ bundle version
Bundler version 2.4.0.dev (2022-12-25 commit unknown)
$ rbenv local 3.2.0
$ bundle version
Bundler version 2.4.1 (2022-12-25 commit unknown)

ほむー

湯煎が優先かな

\ローストビーフで/ \苦労すっとー/

うちには営業力しかないので消耗しててもう正月は来ないんですう

2022-12-25 13:48:55 estplsの投稿 estpls@mstdn.beer

このアカウントは、notestockで公開設定になっていません。

再帰さいきすれ再帰法 (永久に寝る

2022-12-25 05:14:18 まきはら🚩🥞🥞🥞の投稿 makihara@fedibird.com

まだ未完成の部分もありますが、超初心者向けMastodonガイドを公開しました。

ほぼ一本道で最初のページから順に読んでいけば一通り使えるようになるよう、最低限の内容に絞っています。まだ使ってない人から、使い始めたもののぜんぜんわからん人まで、何かのお役に立てましたら幸いです。
prgm.x0.com/mstdn/

Mastodonを始めよう!

にゃーん











い が抜けてる

ケンジントンはいいじんとん

ントン成分

2022-12-25 14:14:56 zunda 避難中の投稿 zundan@mastodooooooon.xyz

このアカウントは、notestockで公開設定になっていません。

2022-12-25 14:14:49 マメミムの投稿 mamemimu@mstdn.jp

このアカウントは、notestockで公開設定になっていません。

旋盤の施錠

世情 (中島みゆき)

むっちゃブラック(手にはやさしい)

シュプレヒコールの波

$ rbenv local 3.2.0-rc1
$ gem --version
3.4.0.dev
$ rbenv local 3.2.0
$ gem --version
3.4.1

こっちかなあ

いつーも冷たい雨が降る

2022-12-25 14:27:16 sublimer@あすてろいどん鯖管の投稿 sublimer@mstdn.sublimer.me

このアカウントは、notestockで公開設定になっていません。

2022-12-25 14:27:43 sublimer@あすてろいどん鯖管の投稿 sublimer@mstdn.sublimer.me

このアカウントは、notestockで公開設定になっていません。

2022-12-25 14:28:40 sublimer@あすてろいどん鯖管の投稿 sublimer@mstdn.sublimer.me

このアカウントは、notestockで公開設定になっていません。

日本だとみゆきさんの歌声が聞こえる…!!

$ git diff master
diff --git a/lib/blurhash.rb b/lib/blurhash.rb
index c1094c8..14db8a3 100644
--- a/lib/blurhash.rb
+++ b/lib/blurhash.rb
@@ -23,7 +23,7 @@ module Blurhash

module Unstable
extend FFI::Library
- ffi_lib File.join(File.expand_path(File.dirname(__FILE__)), '..', 'ext', 'blurhash', 'encode.' + RbConfig::CONFIG['DLEXT'])
+ ffi_lib File.join(File.expand_path(File.dirname(__FILE__)), 'encode.' + RbConfig::CONFIG['DLEXT'])
attach_function :blurHashForPixels, %i(int int int int pointer size_t), :string
end

するとruby-3.2.0でblurhashでのrequireには成功するんだけどox/oxをrequireできないなあ…

rbenv local 3.2.0-rc1すると問題ない。ぐぬー。

ごめんなさいごめんなさい返事のないSlackを眺めてにゃーんしてますもっと叩いてぶあー

CentOSをサーバに

せんとす。ここをキャンプ地とする。

CentOSをサーバに

やめときー

もうRubyなんもわからん

$ strace --trace=file -o bundle-install.strace -f bundle update blurhash

にゃーん

strace眺めてもなんもわからん

今年でカニカマ50周年だそうです(TBS日曜天国)。食べたいねえ。

ぷえ

にゃーん

オンラインでもタイムゾーンは超えられないんだよぬ(´・ω・`)

ぐえー

2022-12-25 19:50:41 estplsの投稿 estpls@mstdn.beer

このアカウントは、notestockで公開設定になっていません。

僕にも…点滴…!!

にゃーん

2022-12-25 22:32:01 あくあーら@イワテドン鯖缶の投稿 aquarla@iwatedon.net

SNSでつらくなったら、メシ画像だけアップするようにするといいよ

にゃーん

事実上の鋼鉄