Error map
Your Ruby version is X, but your Gemfile specified Y Bundler: Your Ruby version is 3.1.2, but your Gemfile specified 3.3.0
Ruby / Rails · layer 4, Application & API
Centre: this error. First ring: errors it is linked with (8). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (8)
Error response from daemon: client version 1.45 is too new. Maximum supported API version is 1.41
Your Docker CLI (or SDK) speaks a newer API version than the Docker daemon it’s talking to.
Bundler: Bundler could not find compatible versions for gem "activesupport": In Gemfile: rails (= 7.1.0) depends on activesupport (= 7.1.0)
Two gems in your Gemfile require incompatible versions of a shared dependency.
macOS: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory
`gem install` tries to write into Apple's system Ruby, which is protected and shouldn't be modified.
Ruby: ArgumentError: missing keyword: :name / unknown keyword: :nmae
A method requiring keyword arguments was called without them, or with a misspelt keyword.
Ruby: ArgumentError: wrong number of arguments (given 1, expected 2..3)
A method was called with more or fewer arguments than it accepts.
Ruby: LoadError: cannot load such file -- nokogiri (or: cannot load such file -- bundler/setup)
`require` couldn't find the file/gem — it isn't installed, not in the Gemfile, or the load path is wrong.
Bundler: Could not find gem 'rails (~> 7.1)' in locally installed gems / Could not find rails-7.1.0 in any of the gem sources listed in your Gemfile
A gem from the Gemfile/Gemfile.lock isn't installed (or isn't available at that version).
Bundler: Your bundle only supports platforms ["x86_64-linux"] but your local platform is arm64-darwin / Could not find gem 'nokogiri (1.16.0-arm64-darwin)'
The lockfile has no Nokogiri build for the current platform (precompiled "native" gems are per platform).
Two steps away (21)
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
The docker CLI can’t talk to the Docker engine — it isn’t running, or your user can’t access the socket.
npm ERR! 403 — You cannot publish over the previously published versions: 1.2.3
That version number has already been published (or unpublished) and can’t be reused.
invalid mount config for type "bind": bind source path does not exist
A -v/--mount or Compose volume points at a host path that doesn’t exist (from the Docker daemon’s point of view).
Unmet dependencies / E: Unable to correct problems, you have held broken packages
apt can’t find a set of package versions that satisfies all dependencies — usually mixed repositories or a package from another r…
Ruby: TypeError: no implicit conversion of nil into String
A String method (`+`, `File.join`, `Array#join` usage) received `nil` instead of a string.
Ruby: TypeError: nil can't be coerced into Integer / String can't be coerced into Integer
Arithmetic combined a number with `nil` (or a String) which Ruby can't convert automatically.
npm ERR! code EACCES — permission denied
npm can’t write to a directory — usually global installs into a root-owned folder.
user is not in the sudoers file. This incident will be reported.
Your account isn’t allowed to use sudo.
npm update check failed — Try running with sudo or get access to the local update config store
npm’s update notifier couldn’t write its config — usually root-owned files in ~/.config from a past sudo npm.
Ruby: NoMethodError: undefined method `x' for nil (nil:NilClass)
You called a method on nil — the object you expected (a record, hash value, param) wasn’t there.
Ruby: NameError: undefined local variable or method 'x' for main:Object
Ruby saw a bare identifier that is neither a local variable nor a method on the current object.
Ruby: FrozenError: can't modify frozen String: "abc"
You tried to change an object that's frozen — string literals under `# frozen_string_literal: true`, constants, symbols or frozen…
Ruby: ERROR: Failed to build gem native extension. current directory: /gems/pg-1.5.4/ext/pg — An error occurred while installing pg
A gem with C code couldn't compile, usually because a system library or header is missing.
RSpec: expected: 200 got: 404 (compared using ==) — RSpec::Expectations::ExpectationNotMetError
An RSpec `expect` assertion didn't hold: the actual value differs from what the test expected.
FactoryBot: FactoryBot::DuplicateDefinitionError: Factory already registered: user
Two factory definitions use the same name (or files are loaded twice).
Ruby: NameError: uninitialized constant UsersController::User (Did you mean? Users)
Ruby (or Rails autoloading) couldn't find a class or module with that name in the current scope.
Rails: ActiveRecord::ConnectionNotEstablished: No connection pool for 'ActiveRecord::Base' found
ActiveRecord has no database connection configured or established for this process.
Rails: Zeitwerk::NameError: expected file app/models/user_profile.rb to define constant UserProfile, but didn't
Rails autoloading found a file whose name implies a constant the file doesn't define.
Rake: rake aborted! Don't know how to build task 'db:migrat' (See the list of available tasks with `rake --tasks`)
Rake doesn't know the task name — a typo, a missing Rakefile, or a gem/engine not loaded.
Ruby: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)
Ruby's HTTP client (Net::HTTP, Faraday, gem install) couldn't verify the server's certificate.
macOS: dlopen: mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')
A library or binary was built for a different CPU architecture than the process loading it.
Map another error
Popular: 500403400ORA-009331064Critical errorFileNotFoundException assemblyTypeError