shusseina
Agile Web Development with Rails 7.2: `bin/rails test` command errors (page 73 of PDF)
When running bin/rails test I get the following error:
uncle_bob@raspberrypi:~/rails/depot $ bin/rails test
≈ tailwindcss v4.3.3
Done in 90ms
Running 7 tests in a single process (parallelization threshold is 50)
Run options: --seed 11964
Running:
/home/uncle_bob/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/railties-7.2.3/lib/rails/test_unit/line_filtering.rb:7:in run': wrong number of arguments (given 3, expected 1..2) (ArgumentError) from /home/uncle_bob/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/minitest-6.0.6/lib/minitest.rb:473:in block (2 levels) in run_suite'
from /home/uncle_bob/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/minitest-6.0.6/lib/minitest.rb:469:in each' from /home/uncle_bob/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/minitest-6.0.6/lib/minitest.rb:469:in block in run_suite'
from /home/uncle_bob/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/minitest-6.0.6/lib/minitest.rb:511:in on_signal' from /home/uncle_bob/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/minitest-6.0.6/lib/minitest.rb:498:in with_info_handler'
from /home/uncle_bob/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/minitest-6.0.6/lib/minitest.rb:468:in run_suite' from /home/uncle_bob/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/minitest-6.0.6/lib/minitest.rb:361:in block in run_all_suites'
from /home/uncle_bob/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/minitest-6.0.6/lib/minitest.rb:361:in map' from /home/uncle_bob/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/minitest-6.0.6/lib/minitest.rb:361:in run_all_suites'
from /home/uncle_bob/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/minitest-6.0.6/lib/minitest.rb:316:in run' from /home/uncle_bob/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/minitest-6.0.6/lib/minitest.rb:84:in block in autorun'
Using Ruby 3.3.5
uncle_bob@raspberrypi:~/rails/depot $ cat ./.ruby-version
3.3.5
Using Rails 7.2
uncle_bob@raspberrypi:~/rails/depot $ bin/rails --version
Rails 7.2.3
Any ideas? Thanks in advance
First Post!
shusseina
By default my Rails project had Minitest 6.0.6. Uninstalling Minitest 6.0.6 (via the bundle command) and installing 5.20 seemed to work. However, in my mind, that contradicts the Minitest GitHub page. More to come…
Popular Pragmatic Bookshelf topics
Title: Web Development with Clojure, Third Edition, pg 116
Hi - I just started chapter 5 and I am stuck on page 116 while trying to star...
New
This isn’t directly about the book contents so maybe not the right forum…but in some of the code apps (e.g. turbo/06) it sends a TURBO_ST...
New
Dear Sophie.
I tried to do the “Authorization” exercise and have two questions:
When trying to plug in an email-service, I found the ...
New
I’m new to Rust and am using this book to learn more as well as to feed my interest in game dev. I’ve just finished the flappy dragon exa...
New
@noelrappin
Running the webpack dev server, I receive the following warning:
ERROR in tsconfig.json
TS18003: No inputs were found in c...
New
Title: Build a Weather Station with Elixir and Nerves: Problem connecting to Postgres with Grafana on (page 64)
If you follow the defau...
New
I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113.
Iteration A1 - Seeing the list of prod...
New
Book: Programming Phoenix LiveView, page 142 (157/378), file lib/pento_web/live/product_live/form_component.ex, in the function below:
d...
New
Modern front-end development for Rails, second edition - Struggling to get the first chapter to work
After running /bin/setup, the first error was: The foreman' command exists in these Ruby versions: That was easy to fix: gem install fore...
New
Hello faithful readers! If you have tried to follow along in the book, you are asked to start up the dev environment via dx/build and ar...
New
Other popular topics
Stop developing web apps with yesterday’s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See f...
New
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters...
New
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
Author Spotlight
Jamis Buck
@jamis
This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
Hello,
I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New
As digital systems increasingly run the world, mastery of the recurring patterns of software development risk is the key to fast and effe...
New
Build robust LLM-powered apps, chatbots, and agents while mastering AI engineering principles that will help you outlast the tools and th...
New
Latest in Agile Web Development with Rails 7
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /java
- /clojure
- /emacs
- /typescript
- /haskell
- /svelte
- /onivim
- /kotlin
- /c-plus-plus
- /react
- /crystal
- /tailwind
- /gleam
- /ocaml
- /elm
- /vscode
- /flutter
- /html
- /ash
- /deepseek
- /zig
- /opensuse
- /centos
- /php
- /scala
- /react-native
- /lisp
- /sublime-text
- /textmate
- /debian
- /nixos
- /agda
- /deno
- /django
- /kubuntu
- /arch-linux
- /nodejs
- /spring
- /ubuntu
- /revery
- /manjaro
- /julia
- /lua
- /diversity
- /quarkus
- /markdown









