操作
環境対応 #1051
完了memoistを1.16にアップデートすると起動しなくなる
説明
memoistを1.16にアップデートすると起動しなくなります.
memoistを1.15に戻したところ正常に稼働しました.
どうもmemoistにはそれを直すコミット
https://github.com/matthewrudy/memoist/commit/d3052454e14f6461f26b7a02153e4daa7d525b60
が入っているみたいですが,mikutterはextend Memoistしていないためその恩恵を受けることが出来ません.
これがmemoistの仕様なのかバグなのか今一つわからないため,とりあえずmikutterが動かなくなるという情報を上げさせていただきました.
エラー内容
% mikutter /usr/lib64/ruby/gems/2.3.0/gems/memoist-0.16.0/lib/memoist.rb:142:in `block (2 levels) in memoize': undefined local variable or method `memoized_methods' for ConfigLoader:Module (NameError) Did you mean? unmemoized_method from /usr/lib64/ruby/gems/2.3.0/gems/memoist-0.16.0/lib/memoist.rb:56:in `class_eval' from /usr/lib64/ruby/gems/2.3.0/gems/memoist-0.16.0/lib/memoist.rb:56:in `memoist_eval' from /usr/lib64/ruby/gems/2.3.0/gems/memoist-0.16.0/lib/memoist.rb:132:in `block in memoize' from /usr/lib64/ruby/gems/2.3.0/gems/memoist-0.16.0/lib/memoist.rb:128:in `each' from /usr/lib64/ruby/gems/2.3.0/gems/memoist-0.16.0/lib/memoist.rb:128:in `memoize' from /usr/share/mikutter/core/configloader.rb:116:in `<module:ConfigLoader>' from /usr/share/mikutter/core/configloader.rb:20:in `<top (required)>' from /usr/lib64/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/lib64/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/share/mikutter/core/miquire.rb:98:in `miquire_original_require' from /usr/share/mikutter/core/miquire.rb:95:in `file_or_directory_require' from /usr/share/mikutter/core/miquire.rb:76:in `block in miquire' from /usr/share/mikutter/core/miquire.rb:75:in `each' from /usr/share/mikutter/core/miquire.rb:75:in `miquire' from /usr/share/mikutter/core/miquire.rb:18:in `miquire' from /usr/share/mikutter/core/service.rb:5:in `<top (required)>' from /usr/lib64/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/lib64/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/share/mikutter/core/miquire.rb:98:in `miquire_original_require' from /usr/share/mikutter/core/miquire.rb:95:in `file_or_directory_require' from /usr/share/mikutter/core/miquire.rb:76:in `block in miquire' from /usr/share/mikutter/core/miquire.rb:75:in `each' from /usr/share/mikutter/core/miquire.rb:75:in `miquire' from /usr/share/mikutter/core/miquire.rb:18:in `miquire' from /usr/share/mikutter/mikutter.rb:38:in `<main>'
操作