プロジェクト

全般

プロフィール

バグ #1167

完了

mikutterのspec生成コマンドが落ちる

あひる 家鴨 さんが約6年前に追加. 約6年前に更新.

ステータス:
却下
優先度:
通常
担当者:
-
対象バージョン:
プラグイン名:
ブランチ:
クラッシュする:

説明

最新のdevelopブランチ( 869e209b )でプラグインのspecファイルを生成しようとしたところ、以下のエラーを吐いて落ちます。

$ ruby ~/mikutter/repo/app/mikutter.rb spec sample_setting
Traceback (most recent call last):
    26: from /Users/ahiru/mikutter/repo/app/mikutter.rb:17:in `<main>'
    25: from /Users/ahiru/mikutter/repo/app/core/boot/option.rb:24:in `parse'
    24: from /Users/ahiru/mikutter/repo/app/core/boot/option.rb:24:in `new'
    23: from /usr/local/Cellar/ruby/2.5.0/lib/ruby/2.5.0/optparse.rb:1062:in `initialize'
    22: from /Users/ahiru/mikutter/repo/app/core/boot/option.rb:73:in `block in parse'
    21: from /usr/local/Cellar/ruby/2.5.0/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
    20: from /usr/local/Cellar/ruby/2.5.0/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
    19: from /Users/ahiru/mikutter/repo/app/core/boot/shell/spec.rb:6:in `<top (required)>'
    18: from /Users/ahiru/mikutter/repo/app/core/miquire.rb:18:in `miquire'
    17: from /Users/ahiru/mikutter/repo/app/core/miquire.rb:75:in `miquire'
    16: from /Users/ahiru/mikutter/repo/app/core/miquire.rb:75:in `each'
    15: from /Users/ahiru/mikutter/repo/app/core/miquire.rb:76:in `block in miquire'
    14: from /Users/ahiru/mikutter/repo/app/core/miquire.rb:95:in `file_or_directory_require'
    13: from /Users/ahiru/mikutter/repo/app/core/miquire.rb:98:in `miquire_original_require'
    12: from /usr/local/Cellar/ruby/2.5.0/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
    11: from /usr/local/Cellar/ruby/2.5.0/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
    10: from /Users/ahiru/mikutter/repo/app/core/userconfig.rb:3:in `<top (required)>'
     9: from /Users/ahiru/mikutter/repo/app/core/miquire.rb:18:in `miquire'
     8: from /Users/ahiru/mikutter/repo/app/core/miquire.rb:75:in `miquire'
     7: from /Users/ahiru/mikutter/repo/app/core/miquire.rb:75:in `each'
     6: from /Users/ahiru/mikutter/repo/app/core/miquire.rb:76:in `block in miquire'
     5: from /Users/ahiru/mikutter/repo/app/core/miquire.rb:93:in `file_or_directory_require'
     4: from /Users/ahiru/mikutter/repo/app/core/miquire.rb:98:in `miquire_original_require'
     3: from /usr/local/Cellar/ruby/2.5.0/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
     2: from /usr/local/Cellar/ruby/2.5.0/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
     1: from /Users/ahiru/mikutter/repo/app/core/plugin.rb:105:in `<top (required)>'
/usr/local/lib/ruby/gems/2.5.0/gems/pluggaloid-1.1.1/lib/pluggaloid/plugin.rb:19:in `vm': Default Delayer was not set. (Pluggaloid::NoDefaultDelayerError)

spec以外も影響しているかは未確認です。
全く追っていないですが、取り急ぎ報告だけします。


再現手順

1. 最新のdevelopブランチ 869e209b を使う
2. mikutterのgenerateコマンドでプラグインの雛形を生成
3. 上記プラグインのディレクトリに対してmikutterのspecコマンドを実行する


関連するチケット

関連している 致命的 #1154: mikutter.rb specが落ちる終了Satoshi Okuno2018-01-07

操作

他の形式にエクスポート: Atom PDF