railsRails 7でflashメッセージが表示されないRails 7でflashやflash.nowが表示されなくなったので、その原因と解決方法。発生した問題Rails 7でflashやflash.nowが表示されない。pathによっては表示される場合もある。解決法turbo-railsを削除…2023.09.02
railsRails newで`const_defined?’: wrong constant name (NameError)が出る。rails newしたらエラーが出た。rails new ./ を rails new ./app_dir_name/ にしたら解決した。原因はよくわかってないけどアプリケーション名の指定方法が悪かったっぽい。2023.04.042023.04.04
errorRailsでHTTP Origin header didn’t match request.base_url errorの解決概要Railsを本番環境にデプロイしたら、以下のエラーが発生。HTTP Origin header didn’t match request.base_url原因リバースプロキシに使用していたNginxの設定にミスがあった。解決策nginx…2023.02.122023.02.12
computernslookupでIPアドレスを調べる結論% nslookup google.com 1.1.1.1Server: 1.1.1.1Address: 1.1.1.1#53Non-authoritative answer:Name: google.comAddress: 142.2…2022.10.062023.01.26
errorRSA Encryption not supported – caching_sha2_password plugin was built with GnuTLS support概要musqlでRSA Encryption not supported - caching_sha2_password plugin was built with GnuTLS supportのエラーが出た。Access denied f…2022.03.202023.01.30
railsRSA Encryption not supported – caching_sha2_password plugin was built with GnuTLS support の解決やりたいことdocker-composeでrailsのアプリを作る。DBにmysqlを使用する。エラーRSA Encryption not supported - caching_sha2_password plugin was built…2022.03.072023.01.30
railsRailsでchart.jsを使おうとするとUglifier::Error:概要Railsでchart.jsを使おうとして、bundle exec rails assets:precompileを実行すると Uglifier::Error: が発生する。production環境だとエラーだが、develop環境だと…2022.01.242023.01.26
railsActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation “player” does not exist概要Railsで rails test を実行したら以下のエラーが出た。ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "player…2022.01.082023.01.23
computeriOS framework addition failed due to a CocoaPods installation failure. This will will likely result in an non-functional Xcode project.概要UnityでGoogle AdModを使用して広告を出そうとしたらビルド時にエラー発生。解決策パソコンにcocoapodsをインストールするターミナルを起動し、xcodeのディレクトリに移動して $pod repo update, $p…2021.10.012023.01.24
pythonpyenvでPythonをインストールしたのに Command ‘python’ not found問題pyenvでPythonをインストールしたが、$python -V で、 Command 'python' not found と表示される。原因・解決source ~/.bash_profileで環…2021.03.102023.01.26