金具✅ cobodo@mstdn.kanagu.info

これWorldonがwebsocket依存してた時代に発見したバグだと思うんですが、もう何も依存してないしGemfileも無いので正直どうでもいい……w

金具✅ 金具✅ reblogged at 6 years ago

御布団院快眠切望居士 shibafu528@social.mikutter.hachune.net

confroot使う時って自分はmikutterd環境でめちゃプラグイン削ってたりするからそんな現象があるの全然知らんかったな…

金具✅ cobodo@mstdn.kanagu.info

バグ #1161: --confrootオプション付きで起動した時Gemfileを含むプラグインが存在すると落ちる - mikutter - やること
dev.mikutter.hachune.net/issue
これ誰にも確認されなそう

金具✅ cobodo@mstdn.kanagu.info

diff --git a/mikutter.rb b/mikutter.rb
index 2f432a70..77b19d99 100755
--- a/mikutter.rb
+++ b/mikutter.rb
@@ -18,6 +18,7 @@ Mopt.parse exec_command: true

if !ENV['DISABLE_BUNDLER_SETUP'] || ['', '0'].include?(ENV['DISABLE_BUNDLER_SETUP'].to_s)
begin
+ ENV['MIKUTTER_CONFROOT'] = Mopt.confroot
ENV['BUNDLE_GEMFILE'] = File.expand_path(File.join(File.dirname($0), "Gemfile"))
require 'bundler/setup'
rescue LoadError, SystemExit

こんなんでいいのか

金具✅ cobodo@mstdn.kanagu.info

いや、既にしてあるじゃん。

金具✅ cobodo@mstdn.kanagu.info

引数の解析を
require 'bundler/setup'
より前にやらないとムリでは?

金具✅ cobodo@mstdn.kanagu.info

@toshi_a やったぜ

金具✅ cobodo@mstdn.kanagu.info

それでどうすりゃいいんかいなっと

金具✅ cobodo@mstdn.kanagu.info

よしよし再現した

金具✅ cobodo@mstdn.kanagu.info

適当に使わないwebsocketでもrequireするだけのプラグインをでっちあげるか

金具✅ cobodo@mstdn.kanagu.info

うーん、どうしようかなこれ 🎫1161

金具✅ cobodo@mstdn.kanagu.info

コミットするだけのやつとマージするだけのやつを消した

金具✅ 金具✅ reblogged at 6 years ago
金具✅ 金具✅ reblogged at 6 years ago

もぐのもがないの moguno@social.mikutter.hachune.net

諸星きらりのひみつ

金具✅ cobodo@mstdn.kanagu.info

@cobodo 言うてSMTPほど長続きせんやろという気もする

金具✅ cobodo@mstdn.kanagu.info

@moguno 了解でーす

金具✅ cobodo@mstdn.kanagu.info

月曜日にとしぁさんと話した時は、もうイーメールとかオワコンやし、Mastodonのacctを書いておけばいいのではないかという案があったりなかったりした。