エラーの園

仕事、日常のあらゆるエラーと戦い、先人の知恵も拝借して何としても解決……したい!

Rails

Sprockets::Rails::Helper::AssetNotPrecompiled

エラー発生前の操作や設定など Javascriptを追加した後、ブラウザからlocalhost:3000にアクセスした。 エラー内容 Sprockets::Rails::Helper::AssetNotPrecompiled in Posts#index Showing /Users/[user_name]/Library/Mobile Documents/com~apple~CloudDocs…

An error occurred while installing bcrypt...

エラー発生前の操作や設定など https://railstutorial.jp/chapters/modeling_users の「6.3.1 ハッシュ化されたパスワード」で Gemfileにgem 'bcrypt', '3.1.12'を追記してbundle install実行。 エラー内容 An error occurred while installing bcrypt (3.1.…

`add_route': Invalid route name, already in use: [エラーになったroute name] (ArgumentError)

エラー発生前の操作や設定など 参考サイトの通り、設定してコマンドを実行した。 その後、サーバー起動(rails s)した。 エラー内容 config/routes.rb Rails.application.routes.draw do devise_for :admin_users, ActiveAdmin::Devise.config devise_for :ad…

The bundle currently has listen locked at [listenのバージョン]

エラー発生前の操作や設定など bundle install した。 エラー内容 You have requested: listen >= 3.0.5, < 3.2 The bundle currently has listen locked at 3.2.1. Try running `bundle update listen` If you are updating multiple gems in your Gemfile …

dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.xx.dylib

エラー発生前の操作や設定など rails g scaffold ...(以下省略) した時に発生したエラー。 エラー内容 dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.xx.dylib ※xxはバージョン 参考サイト qiita.com ↑ ありがとうございます! 救われまし…