rails Rails 7でflashメッセージが表示されない Rails 7でflashやflash.nowが表示されなくなったので、その原因と解決方法。発生した問題Rails 7でflashやflash.nowが表示されない。pathによっては表示される場合もある。解決法turbo-railsを削除... 2023.09.02 rails
rails Rails newで`const_defined?’: wrong constant name (NameError)が出る。 rails newしたらエラーが出た。rails new ./ を rails new ./app_dir_name/ にしたら解決した。原因はよくわかってないけどアプリケーション名の指定方法が悪かったっぽい。 2023.04.04 rails
error RailsでHTTP Origin header didn’t match request.base_url errorの解決 概要Railsを本番環境にデプロイしたら、以下のエラーが発生。HTTP Origin header didn’t match request.base_url原因リバースプロキシに使用していたNginxの設定にミスがあった。解決策nginx... 2023.02.12 Uncategorizederror
computer nslookupで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.06 computer
error RSA 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.20 error
rails RSA 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.07 rails
rails Railsでchart.jsを使おうとするとUglifier::Error: 概要Railsでchart.jsを使おうとして、bundle exec rails assets:precompileを実行すると Uglifier::Error: が発生する。production環境だとエラーだが、develop環境だと... 2022.01.24 rails
rails ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation “player” does not exist 概要Railsで rails test を実行したら以下のエラーが出た。ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "player" does no... 2022.01.08 rails
computer iOS 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.01 computer
python pyenvでPythonをインストールしたのに Command ‘python’ not found 問題pyenvでPythonをインストールしたが、$python -V で、 Command 'python' not found と表示される。原因・解決source ~/.bash_profileで環境設定の変更を反映させる。終わりにp... 2021.03.10 python