Skip to content
Latchkey
Ruby

Bundler and gem failures in CI - resolved.

Fix Ruby CI failures: bundler dependency conflicts, native gem build errors, version mismatches, and platform problems. Clear fixes for bundle install and gem pipelines.

Bundler

Version conflicts, sources, and lockfiles.

"could not find executable"Fix "bundler: command not found: X" / "could not find executable" when running bundle exec in CI - the gem pr… "rails: command not found"Fix "rails: command not found" in CI - the rails executable is not on PATH because the bundle was not install… "rspec: command not found"Fix "rspec: command not found" in CI - rspec is a bundled gem executable; run it via bundle exec or a binstub… "ActiveRecord::NoDatabaseError"Fix "ActiveRecord::NoDatabaseError" and "PG::ConnectionBad: could not connect to server" in CI - Rails could… "--without" group requiredFix runtime failures after bundle install --without removed a group whose gems are still required in CI - a g… "error installing X"Fix Bundler "An error occurred while installing X, and Bundler cannot continue" in CI - a gem with a native e… "Bundler cannot continue"Fix "An error occurred while installing gem-name (version), and Bundler cannot continue" in CI - a single gem… "cannot load such file" under bundle execFix "bundle exec" "cannot load such file -- X (LoadError)" in CI - a required file or gem is not in the bundl… "Could not find gem"Fix Bundler::GemNotFound "Could not find gem X in ..." during bundle install in CI - the named gem or version… "Bundler::GemNotFound"Fix Bundler "Bundler::GemNotFound: Could not find X in any of the sources" in CI - a stale vendor cache missi… "Bundler::GemNotFound"Fix "Bundler::GemNotFound: Could not find gem-name in any of the sources" in CI - a required gem is missing a… "Bundler::GemspecError"Fix Bundler::GemspecError "There was an error while loading X.gemspec" in CI - a gemspec that raises while be… "Bundler::GitError"Fix Bundler::GitError in CI when cloning a git-sourced gem fails - missing credentials for a private repo, no… "Could not reach the gem source"Fix "Bundler::HTTPError: Could not reach the gem source" / "Could not fetch specs" in CI - Bundler could not… "Bundler::VersionConflict"Fix Bundler::VersionConflict in CI when two gems demand incompatible versions of a shared dependency - relax… "Could not fetch specs from"Fix Bundler "Bundler::HTTPError: Could not fetch specs from https://rubygems.org/" and 429 Too Many Requests… "Could not fetch specs"Fix Bundler::HTTPError "Could not fetch specs from https://rubygems.org/" in CI - a transient source failure… "Could not find bundler (X)"Fix "Could not find 'bundler' (version) required by your Gemfile.lock" in CI - the BUNDLED WITH version recor… "Could not find compatible versions for gem X"Fix Bundler "Bundler could not find compatible versions for gem X" in CI - two dependencies require incompati… "Could not find compatible versions for gem"Fix Bundler "Could not find compatible versions for gem X" in CI - two requirements in the Gemfile demand non… "no compatible versions"Fix Bundler "Could not find compatible versions for gem X" in CI - two requirements demand conflicting versio… "compatible versions"Fix Bundler "Could not find compatible versions for gem X" in CI - two gems require incompatible versions of… "Could not find gem ... in locally installed gems"Fix Bundler "Could not find X in locally installed gems" in CI - with --deployment or --frozen, Bundler insta… "Could not find gem"Fix Bundler "Could not find gem X in rubygems repository" in CI - a typo, a yanked version, or a gem that liv… "Could not find X in any of the sources"Fix Bundler "Could not find gem-name (version) in any of the sources" in CI - the gem is not on the configure… "Could not find X in locally installed gems"Fix Bundler "Could not find gem-name (version) in locally installed gems" in CI - deployment/frozen mode inst… "Could not locate Gemfile"Fix Bundler "Could not locate Gemfile" / "Could not locate Gemfile or .bundle/ directory" in CI - the step ru… "deployment mode requires"Fix Bundler "The deployment setting requires a Gemfile.lock. Please run bundle install elsewhere and add Gemf… "deployment needs a lockfile"Fix Bundler "the bundle is configured for deployment but no Gemfile.lock was found" in CI - frozen/deployment… "Permission denied"Fix Bundler "Errno::EACCES: Permission denied" installing gems in CI - install into a writable path with bund… "failed to load command"Fix "bundler: failed to load command: rspec" in CI - the executable is missing from the bundle or an exceptio… "frozen ... Gemfile changed"Fix Bundler "the dependencies in your Gemfile changed" in frozen/deployment mode - the Gemfile was edited wit… "frozen mode" mismatchFix Bundler "the lockfile does not match the gemfile" under frozen/deployment mode in CI - regenerate Gemfile… "Gem::Ext::BuildError"Fix Bundler "Gem::Ext::BuildError: ERROR: Failed to build gem native extension" in CI - install the compiler,… "FilePermissionError"Fix Gem::FilePermissionError "You don’t have write permissions for the ... directory" in CI - install into a… "Gem::FilePermissionError"Fix "Gem::FilePermissionError: You do not have write permissions" in CI - Bundler tried to install into a sys… "SSL_connect"Fix Gem::RemoteFetcher::FetchError "SSL_connect" errors fetching gems in CI - a transient TLS handshake failu… "is not yet checked out"Fix Bundler "The git source https://... is not yet checked out. Please run bundle install" in CI - a git-sour… "uses the cache"Fix Bundler errors with a cached git source in CI - a stale or incomplete git cache for a git-sourced gem; cl… "is not yet checked out"Fix Bundler "The git source ... is not yet checked out. Please run bundle install" in CI - a git-sourced gem… "locked to bundler (X)"Fix Bundler "you are running ... but the lockfile was bundled with X" in CI - the BUNDLED WITH version in Gem… "Net::OpenTimeout"Fix Bundler "Net::OpenTimeout" / "execution expired" connecting to a gem source in CI - a transient connectio… "certificate verify failed" (gem fetch)Fix Bundler/RubyGems "SSL_connect returned=1 errno=0 state=error: certificate verify failed" in CI - the runn… "the dependencies in your gemfile changed"Fix Bundler frozen mode "the dependencies in your gemfile changed" in CI - the Gemfile was edited but Gemfile… "git source not checked out"Fix Bundler "The git source ... is not yet checked out. Please run bundle install" in CI - a git-sourced gem… "frozen mode ... out of sync"Fix Bundler "The dependencies in your gemfile changed ... but the lockfile ... can not install in deployment… "the lockfile does not have all gems"Fix Bundler "Your lock file does not have all gems that are required by your Gemfile" in CI - a platform or d… "path does not exist"Fix Bundler::PathError "The path ... does not exist" in CI - a path: gem whose directory was not checked out,… "You have already activated"Fix "You have already activated X 1.0, but your Gemfile requires X 2.0" in CI - a default gem was loaded befo… "you must use Bundler 2.x to run this bundle"Fix Bundler "you must use Bundler 2.x to run this bundle" in CI - the runner Bundler version differs from the… "locked to X ... not found"Fix Bundler "your bundle is locked to gem X, but that version could not be found" in CI - the version pinned… "Your bundle is locked to X, but ..."Fix Bundler "Your bundle is locked to gem (version), but that version could not be found" in CI - frozen mode… "locked to ... could not be found"Fix Bundler "Your bundle is locked to gem (version) from rubygems.org, but that version could not be found" i… "the bundle is locked to"Fix Bundler "Your bundle is locked to X, but that version could not be found" / "the dependencies in your gem… "your bundle only supports platforms"Fix Bundler "Your bundle only supports platforms [...] but your local platform is X" in CI - the lockfile lac… "Your Gemfile.lock is corrupt"Fix Bundler "Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES section" in CI… "Gemfile.lock is corrupt"Fix Bundler "Your Gemfile.lock is corrupt" in CI - a gem is missing from the DEPENDENCIES section, usually af… "Authentication is required" (private gem)Fix Bundler 401 from a private gem source in CI - the credentials for a gated source like enterprise.contribs… source 5xx / networkFix transient Bundler failures fetching from rubygems.org in CI - 5xx responses, timeouts, and connection res… "BUNDLE_FROZEN"Fix CI failures caused by an inherited BUNDLE_FROZEN=true environment variable forcing frozen mode - re-lock… corrupt cached gemFix Bundler failures from a corrupt or truncated cached gem in CI - "package is corrupt" / "inflate" errors;… deployment path mismatchFix Bundler deployment mode expecting gems in vendor/bundle when the cache restored them elsewhere - align bu… frozen after editFix Bundler refusing to install after a Gemfile edit because frozen mode forbids lockfile changes - re-lock l… missing platform gemFix Bundler errors when Gemfile.lock lacks the x86_64-linux platform in CI - add the platform with bundle loc… "your lockfile ... does not include ... platform"Fix Bundler errors where Gemfile.lock lacks the runner platform (PLATFORMS) in CI - a precompiled gem like no… "GemRequireError"Fix "Bundler::GemRequireError: There was an error while trying to load the gem X" in CI - a gem failed to req… "could not fetch from source"Fix Bundler::HTTPError "Could not fetch from <source>" during bundle install in CI - a transient network fail… "cannot load such file"Fix "cannot load such file -- X" raised inside Bundler.require for a bundled gem in CI - the gem installed bu… "already activated"Fix "Gem::LoadError: X is not the version that bundler is using" / "already activated" in CI - a different ve… "Webpacker::Manifest::MissingEntryError"Fix Rails assets:precompile and Webpacker build failures in CI - the JavaScript build crashed or the manifest… "Missing secret_key_base"Fix Rails "Missing `secret_key_base` for 'production' environment" during assets:precompile in CI - precompil… "Can't connect to MySQL server"Fix "Mysql2::Error::ConnectionError: Can't connect to MySQL server on '127.0.0.1'" in CI - the Rails test dat… "rake aborted! ... cannot load such file"Fix "rake aborted! LoadError: cannot load such file -- X" in CI - a Rakefile or task tried to require a file… "rbenv: version not installed"Fix rbenv "version X is not installed (set by .ruby-version)" in CI - the Ruby version your project pins is n… "Failures: ... examples, N failures"Fix RSpec runs that exit 1 with "expected ... got ..." failures in CI but pass locally - usually order, time,… "N offenses detected"Fix RuboCop failing CI with "N offenses detected" and exit code 1 - the linter found style or lint violations… "bundler/setup"Fix LoadError "cannot load such file -- bundler/setup" in CI - Bundler is not installed for the active Ruby,… "not part of the bundle"Fix Gem::LoadError "X is not part of the bundle. Add it to your Gemfile" in CI - code requires a gem that is… "Psych::DisallowedClass"Fix "Psych::DisallowedClass: Tried to load unspecified class" in CI - YAML.load (safe by default in newer Psy… "rails: command not found"Fix "rails: command not found" in CI - the rails binary is not on PATH; run it through bundle exec or generat… "rake aborted! LoadError"Fix "rake aborted! LoadError: cannot load such file" in CI - a Rakefile requires a gem or file that is not in… "already activated"Fix "You have already activated rake 13.0.6, but your Gemfile requires rake 13.1.0" in CI - a default gem loa… binstub version skewFix a committed binstub launching a different gem version than bundle exec in CI - a stale binstub generated… "certificate verify failed"Fix RubyGems/Bundler "SSL_connect ... certificate verify failed" in CI - caused by a missing CA bundle or a p… "Gem::FilePermissionError"Fix "Gem::FilePermissionError: You don't have write permissions for the ... directory" in CI - gem tried to i…

Native gems

Extension builds and missing libraries.

"yarn not found"Fix "yarn: command not found" / "Yarn executable was not detected" during a Rails asset build in CI - install… "Failed to build gem native extension"Fix "ERROR: Failed to build gem native extension" in CI - a gem with a C extension could not compile because… "mkmf.rb can't find header files for ruby"Fix "mkmf.rb can't find header files for ruby" in CI - the Ruby development headers (ruby-dev) needed to comp… "You have to install development tools first"Fix "You have to install development tools first" during a native gem build in CI - the runner has no C compi… "mysql2" cannot find libmysqlclientFix mysql2 "Can't find mysql client" native build error in CI - the MySQL/MariaDB client development library… "Can't find the 'libpq-fe.h' header"Fix pg gem "Can't find the libpq-fe.h header" in CI - the PostgreSQL client development library (libpq-dev) i… "Capybara::ElementNotFound"Fix Rails "Capybara::ElementNotFound: Unable to find" in CI - a system test asserts on an element before asyn… "Can't connect to MySQL server"Fix Rails "Mysql2::Error::ConnectionError: Can't connect to MySQL server on '127.0.0.1'" in CI - the MySQL se… "PG::ConnectionBad"Fix Rails "PG::ConnectionBad: could not connect to server" in CI - the Postgres service container is not reac… "Redis ... Connection refused"Fix Rails "Redis::CannotConnectError: Error connecting to Redis ... Connection refused" in CI - the cache, Ac… "assets:precompile failed"Fix "rails assets:precompile" failing in CI under Sprockets or Webpacker - a missing asset, JS runtime, manif… parallelize + separate test DBsFix Rails parallel test database connection errors in CI - parallelize spins up worker databases (myapp_test-… Selenium Chrome in system testsFix Rails system tests failing to start Chrome via Selenium in CI - the runner needs a headless Chrome and a… "rake aborted! LoadError"Fix "rake aborted! LoadError: cannot load such file" in CI - a Rakefile or task required something missing fr… "RuboCop offenses"Fix RuboCop failing CI with detected offenses - the linter exited non-zero because of style/lint violations;… "Failed to build ... no gcc"Fix "Failed to build gem native extension" caused by a missing C compiler in CI - gcc/clang or make is not in… "native extension"Fix gem "ERROR: Failed to build gem native extension" in CI - no precompiled gem for the platform and the sou… "make failed (exit code 2)"Fix "make failed, exit code 2" while building a native gem extension (nokogiri, pg, mysql2) in CI - the C com… "can't find header files for ruby"Fix "mkmf.rb can't find header files for ruby" building a gem in CI - the Ruby development headers (ruby-dev… bcrypt buildFix the bcrypt gem "Failed to build gem native extension" in CI - bcrypt has no external library dependency,… eventmachine buildFix the eventmachine gem native build failing in CI - install the C++ compiler and OpenSSL development header… "Could not find a JavaScript runtime"Fix ExecJS::RuntimeUnavailable "Could not find a JavaScript runtime" in CI - install Node.js or add a JS runt… ffi buildFix the ffi gem "An error occurred while installing ffi" native build failure in CI - install libffi-dev and… "libxml-2.0 ... no"Fix "checking for libxml-2.0 ... no" while installing nokogiri (or another libxml2 gem) in CI - mkmf could no… "gcc: not found"Fix Ruby gem builds failing with "gcc: command not found" or "clang: command not found" in CI - install the C… "implicit declaration"Fix gem native builds failing with "error: implicit declaration of function" in CI - a newer compiler treats… "header file not found"Fix "fatal error: header.h: No such file or directory" building a native gem in CI - a development header for… "ruby.h: No such file"Fix gem native builds failing with "fatal error: ruby.h: No such file or directory" in CI - the Ruby developm… "make failed"Fix Ruby gem native builds failing with "make failed, exit code 2" in CI - the real compiler or linker error… "make: command not found"Fix Ruby gem native builds failing with "make: command not found" in CI - the make utility is absent; install… RbConfig mismatchFix native gem builds failing from an RbConfig CFLAGS/compiler mismatch in CI - a Ruby built with one compile… grpc buildFix the grpc gem build failing or timing out in CI - the source compile is huge; lock the precompiled platfor… mini_racer / libv8Fix mini_racer / libv8-node build failures in CI - the V8 bindings need a matching precompiled libv8 platform… "libmysqlclient not found"Fix the mysql2 gem failing with "libmysqlclient is missing" in CI - the MySQL client development library the… mysql2 buildFix the mysql2 gem "An error occurred while installing mysql2" build failure in CI - install libmysqlclient-d… nokogiri libxml2 buildFix Nokogiri native build failures in CI - missing libxml2/libxslt headers, or force the precompiled platform… nokogiri precompiled fallbackFix Nokogiri compiling from source in CI despite a precompiled gem existing - force_ruby_platform, a musl run… openssl build failsFix Ruby/gem openssl extension build failures in CI - "OpenSSL library could not be found" - by installing li… "can't find libpq"Fix the pg gem "Can't find the PostgreSQL client library (libpq)" build error in CI - install libpq-dev / pos… sassc buildFix the sassc gem "An error occurred while installing sassc" native build failure in CI - install the C++ too… sqlite3 buildFix the sqlite3 gem "sqlite3.h is missing" / "cannot find -lsqlite3" build failure in CI - install libsqlite3… "cannot find -lmysqlclient"Fix the mysql2 gem "Failed to build gem native extension" / "cannot find -lmysqlclient" in CI - the build nee… "Failed to build gem native extension"Fix "Gem::Ext::BuildError: ERROR: Failed to build gem native extension" for nokogiri in CI - the source build… "Can't find the PostgreSQL client library"Fix the pg gem "Failed to build gem native extension" / "Can't find the PostgreSQL client library (libpq)" in…

Versions & platform

Ruby version and platform mismatches.

"Template::Error"Fix "ActionView::Template::Error" in Rails CI - rendering a view raised. The wrapped error (nil method, missi… "NoDatabaseError"Fix "ActiveRecord::NoDatabaseError: database does not exist" for the test database in CI - create the databas… "PendingMigrationError"Fix "ActiveRecord::PendingMigrationError: Migrations are pending" in CI - the test database schema is behind… "StatementInvalid"Fix "ActiveRecord::StatementInvalid" in CI - a SQL statement failed (undefined column/table, type mismatch, o… "wrong number of arguments"Fix "ArgumentError: wrong number of arguments (given N, expected M)" in Ruby CI - a method was called with th… "ENOENT" spawning toolFix Errno::ENOENT raised when a bundled program spawns an external binary in CI - a system tool (git, node, a… "Your Ruby version is 3.x, but your Gemfile specified 3.y"Fix Bundler "Your Ruby version is 3.x, but your Gemfile specified 3.y" in CI - the runner Ruby does not match… "Ruby version is X"Fix Bundler "Your Ruby version is 3.2.2, but your Gemfile specified 3.3.0" in CI - pin the runner to the Ruby… "Your Ruby version is ... but your Gemfile specified"Fix Bundler "Your Ruby version is 3.2.2, but your Gemfile specified 3.3.0" in CI - the runner Ruby does not m… rbenv local mismatchFix "Your Ruby version is 3.2.2, but your Gemfile specified 3.3.0" under rbenv in CI - set the project Ruby w… Bundler version mismatchFix Bundler version mismatches in CI when the lockfile’s BUNDLED WITH differs from the installed Bundler - in… "ElementNotFound"Fix "Capybara::ElementNotFound: Unable to find ..." in a system/feature test in CI - the element was not pres… "frozen String"Fix "FrozenError: can't modify frozen String" in Ruby 3 CI - code mutates a string literal that is frozen, of… "cannot load such file"Fix "LoadError: cannot load such file -- X" from a require in CI - the required path or gem is not on the loa… "Mysql2 ConnectionError"Fix "Mysql2::Error::ConnectionError: Can't connect to MySQL server" in Rails CI - MySQL was not reachable whe… "uninitialized constant"Fix "NameError: uninitialized constant Foo" in Ruby/Rails CI - a class or module the code references was neve… "NoMethodError (migration)"Fix a NoMethodError raised while running a migration in CI - the migration calls a model method, a removed AP… "for nil:NilClass"Fix "NoMethodError: undefined method X for nil:NilClass" in Ruby CI - a value you expected was nil, so callin… "PG::ConnectionBad"Fix "PG::ConnectionBad: could not connect to server" in Rails CI - Postgres was not reachable when tests conn… "Rack::Timeout"Fix "Rack::Timeout::RequestTimeoutError" in CI - a request exceeded the configured service timeout, often bec… "ActionController::RoutingError"Fix Rails "ActionController::RoutingError: No route matches" appearing only in CI - engine mounts, asset rout… "ActionView::Template::Error" (asset)Fix Rails "ActionView::Template::Error: Asset `application.css` was not declared to be precompiled" / not fou… "ActiveRecord::AdapterNotSpecified"Fix Rails "ActiveRecord::AdapterNotSpecified: The `test` database is not configured" in CI - the test environ… "ActiveRecord::NoDatabaseError"Fix Rails "ActiveRecord::NoDatabaseError" in CI - the test database does not exist yet because no step ran ra… "Migrations are pending"Fix Rails "ActiveRecord::PendingMigrationError: Migrations are pending" in CI - the test database schema is b… "assets:precompile"Fix Rails "rake aborted! ... assets:precompile" failures in CI - missing JS runtime/Node, a Sprockets asset-n… assets:precompile + SECRET_KEY_BASEFix "rails assets:precompile" failing under RAILS_ENV=production in CI because the app boots and demands SECR… db:schema:load missing in CIFix Rails failures where the test database exists but has no tables in CI - the workflow created the database… "does not specify adapter"Fix Rails "database configuration does not specify adapter" in CI - the resolved config (often from DATABASE_… "Missing secret_key_base for 'production'"Fix Rails "Missing `secret_key_base` for 'production' environment" in CI - booting in production needs SECRET… "NameError: uninitialized constant"Fix Rails "NameError: uninitialized constant" that only appears in CI - eager loading in the test environment… "rails: command not found"Fix "rails: command not found" in CI - the rails executable is not on PATH; run bin/rails or bundle exec rail… "Webpacker::Manifest::MissingEntryError"Fix Rails "Webpacker::Manifest::MissingEntryError" (or Shakapacker) in CI - the JS pack was never compiled, s… ActiveStorage service in CIFix Rails Active Storage failures in CI where the configured storage service is missing - point test at the :… ActiveJob queue_adapter in CIFix Rails ActiveJob failures in CI where jobs hit a real backend - set queue_adapter to :test or :inline so t… "config/master.key is missing"Fix Rails "Missing encryption key to decrypt file with. Ask your team for your master key" in CI - config/cre… "secret_key_base"Fix "Missing secret_key_base" / "secret_key_base for test environment" when booting Rails in CI - provide a s… timezone-dependent test in CIFix Rails time-based tests that pass locally but fail in CI - the runner uses UTC while your machine does not… webpacker/jsbundling failsFix Rails webpacker or jsbundling-rails build failures in CI - yarn install not run, a missing JS build step,… "expected file ... to define constant"Fix Rails Zeitwerk "expected file app/... to define constant X" in CI - a file name does not match the consta… .ruby-version mismatchFix rbenv selecting the wrong Ruby in CI when .ruby-version disagrees with the installed versions - pin the v… "definition not found"Fix rbenv install "ruby-build: definition not found: X" in CI - the ruby-build plugin does not know the reque… "definition not found"Fix rbenv "ruby-build: definition not found: 3.3.0" in CI - the ruby-build plugin is too old to know the requ… "ruby: command not found"Fix "rbenv: ruby: command not found" in CI - rbenv has no Ruby installed (or the shim is empty), so every rub… "ruby: command not found"Fix "ruby: command not found" / "bundle: command not found" under rbenv in CI - the rbenv shims directory is… "ruby: command not found"Fix "ruby: command not found" when rbenv is installed but not initialized in CI - the rbenv shims are not on… "is not installed"Fix rbenv "rbenv: version `3.3.0' is not installed (set by .ruby-version)" in CI - install the requested Ruby… "CannotConnectError"Fix "Redis::CannotConnectError: Error connecting to Redis" in CI - Redis was not reachable when the app or te… "loading rails_helper"Fix "An error occurred while loading ./spec/rails_helper.rb" in CI - RSpec failed to boot the Rails environme… "expected ... got"Triage an RSpec "expected X, got Y" expectation failure that only fails in CI - order dependence, time/zone,… "MultipleExpectationsNotMet"Understand "RSpec::Core::MultipleExpectationsNotMetError" in CI - an aggregate_failures block collected more… ".ruby-version mismatch"Fix a Ruby build failing because .ruby-version disagrees with the Ruby version CI installed - version manager… "can't modify frozen String"Fix "FrozenError: can’t modify frozen String" in CI - a frozen_string_literal magic comment (or a newer Ruby… "cannot load such file"Fix Ruby "LoadError: cannot load such file -- X" in CI - a gem not installed for the active Ruby, a missing r… "Could not find bundler (X)"Fix "Could not find 'bundler' (2.5.6) required by your /path/Gemfile.lock" in CI - install the exact Bundler… "Don't know how to build task"Fix rake "Don’t know how to build task X (See the list of available tasks ...)" in CI - a misspelled task, an… "cannot load such file"Fix "LoadError: cannot load such file -- ./lib/foo" in CI - a require/require_relative path that does not res… "uninitialized constant"Fix "NameError: uninitialized constant X" in CI - a class/module not required, an autoload path mismatch, or… "ENOENT -- bundle"Fix Errno::ENOENT "No such file or directory -- bundle" in CI - the bundle executable is not on PATH for the… "Psych::BadAlias"Fix "Psych::BadAlias: Unknown alias" / "Tried to load unspecified class" loading YAML in CI - newer Psych dis… "rspec --bisect"Fix rspec --bisect failing to isolate an order-dependent failure in CI - non-deterministic state, parallelism… "Ruby version ... Gemfile specified"Fix Bundler "Your Ruby version is X, but your Gemfile specified Y" in CI - the Ruby running the job does not… "required_ruby_version"Fix Bundler errors when a gem’s required_ruby_version excludes your interpreter in CI - the gem supports only… "Did you mean?"Fix Ruby NoMethodError/NameError with a did_you_mean "Did you mean?" hint in CI - a misspelled method or name… parallel_tests db missingFix parallel_tests failing because per-process test databases were not created in CI - run parallel:create /… RuboCop version mismatchFix RuboCop passing locally but failing in CI from a version mismatch - a different RuboCop/cop version flags… rvm/rbenv conflictFix rvm and rbenv (or chruby) both on PATH selecting different Rubies in CI - two version managers fighting o… SimpleCov coverage dropFix SimpleCov failing CI with "Coverage X% is below the expected minimum" - merged results across parallel wo… standardrb version mismatchFix standardrb (Standard Ruby) passing locally but failing in CI from a version mismatch - pin standard in th… pry/irb hangs CIFix CI jobs hanging or timing out on a stray binding.pry / binding.irb left in code - the debugger waits for… "chrome not reachable"Fix "Selenium::WebDriver::Error: chrome not reachable" / "unknown error: cannot connect to chrome" in CI syst… "The requested Ruby version is not available"Fix setup-ruby "The requested Ruby version is not available" in CI - the .ruby-version or workflow pins a Rub… "database is locked"Fix "SQLite3::BusyException: database is locked" in CI - concurrent writers to a single SQLite file collide;… "stack level too deep"Fix "SystemStackError: stack level too deep" in Ruby CI - infinite or unbounded recursion blew the call stack… "no implicit conversion"Fix "TypeError: no implicit conversion of X into Y" in Ruby CI - an operation got a value of the wrong type (… "Zeitwerk::NameError"Fix "Zeitwerk::NameError: expected file to define constant" in Rails CI - a filename does not match the const…
Explore other topics