トップ «前の日記(2022-03-28) 最新 次の日記(2022-03-30)» 編集

ヨタの日々

2001|08|09|10|11|12|
2002|01|02|03|04|05|06|07|08|09|10|11|12|
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|12|
2024|01|02|03|04|05|06|07|08|09|10|11|

2022-03-29 :-(

_ 業務日誌

0800 出勤。在宅勤務

1700 退勤

_

鮭を味噌に漬けておいたやつ。

_ おやつ

とちおとめ。八百屋に行ったらあったので買いました。

DSC01486

_ tdiary が 500 Internal Server Error だった

You have already activated json 2.5.1, but your Gemfile requires json 2.6.1. Since json is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports json as a default gem. (Gem::LoadError)

/usr/pkg/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/runtime.rb:309:in `check_for_activated_spec!'
/usr/pkg/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/runtime.rb:25:in `block in setup'
/usr/pkg/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/spec_set.rb:136:in `each'
/usr/pkg/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/spec_set.rb:136:in `each'
/usr/pkg/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/runtime.rb:24:in `map'
/usr/pkg/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/runtime.rb:24:in `setup'
/usr/pkg/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler.rb:151:in `setup'
/usr/pkg/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/setup.rb:20:in `block in <top (required)>'
/usr/pkg/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/ui/shell.rb:136:in `with_level'
/usr/pkg/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/ui/shell.rb:88:in `silence'
/usr/pkg/lib/ruby/gems/3.0.0/gems/bundler-2.3.10/lib/bundler/setup.rb:20:in `<top (required)>'
<internal:/usr/pkg/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/usr/pkg/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/home/rin/public_html/tdiary-v5.2.1/lib/tdiary/environment.rb:8:in `<top (required)>'
<internal:/usr/pkg/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/usr/pkg/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/home/rin/public_html/tdiary-v5.2.1/lib/tdiary.rb:25:in `<top (required)>'
<internal:/usr/pkg/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/usr/pkg/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/home/rin/public_html/diary/index.rb:18:in `<main>'

先日 pkgsrc を pkg_rolling-replace した影響だと思う。

bundle で要求するバージョンとシステムの gem のバージョンと整合してないようなのでひたすら gem install していく (CGI つまり apache から起動されるのでシステムの gem が使われるらしい)

% gem list
 :
json (default: 2.5.1)
 :

% sudo gem install json
Fetching json-2.6.1.gem
Building native extensions. This could take a while...
Successfully installed json-2.6.1
Parsing documentation for json-2.6.1
Installing ri documentation for json-2.6.1
Done installing documentation for json after 5 seconds
1 gem installed

また別の You have already activated <gemname> が表示されたらそれも gem intall していく。