Satoryu's Diary

Rubyが好きなプログラマーの日記。日々の生活、開発に関するメモとか考えとか。


2016年03月31日

_ tDiary 5.0.0 にアップデートした。

恒例の肉(29)の日のリリースから少し遅れてしまったけどtDiary 5.0.0にアップデートした。

category_to_tagcloud をやめた。

category_to_tagcloud を入れたままにしていたら、日記を投稿した際にエラーが出るので、このタイミングで利用を止めた。category-legacyプラグインを入れれば使えるようではあるらしいが、そもそも意識した使った記憶が無いので、躊躇なく外した。

Ruby 2.3.0 のThread.exclusive のwarning

起動してみたところ、Rackのところで下記のスタックトレースとWarningが出るのを確認した。 これはRuby 2.3から出る警告のようだ。

Thread.exclusive is deprecated, use Mutex
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/reloader.rb:36:in `call'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/newrelic_rpm-3.14.0.305/lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in `call'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/tempfile_reaper.rb:15:in `call'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/lint.rb:49:in `_call'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/lint.rb:37:in `call'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/showexceptions.rb:24:in `call'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/chunked.rb:54:in `call'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.6.1/lib/thin/connection.rb:82:in `block in pre_process'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.6.1/lib/thin/connection.rb:80:in `catch'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.6.1/lib/thin/connection.rb:80:in `pre_process'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.6.1/lib/thin/connection.rb:55:in `process'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.6.1/lib/thin/connection.rb:41:in `receive_data'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/eventmachine-1.0.8/lib/eventmachine.rb:193:in `run_machine'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/eventmachine-1.0.8/lib/eventmachine.rb:193:in `run'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.6.1/lib/thin/backends/base.rb:73:in `start'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/thin-1.6.1/lib/thin/server.rb:162:in `start'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/handler/thin.rb:19:in `run'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/server.rb:286:in `start'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/server.rb:147:in `start'
/usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/bin/rackup:4:in `<top (required)>'
/usr/local/var/rbenv/versions/2.3.0/bin/rackup:23:in `load'
/usr/local/var/rbenv/versions/2.3.0/bin/rackup:23:in `<main>'

Rackで既に対応済みのようなのだけれど、rack-1.6.5が出ているわけでもなく、だからといって、githubのmasterを追っかけるほどでもないと思ったので、一旦放置している。

Tags: tDiary

最近の投稿

翻訳しました(ちょっとだけ)

follow us in feedly