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
Hello Brian,
I have some problems with running the code in your book. I like the style of the book very much and I have learnt a lot as...
New
Hi Travis! Thank you for the cool book! :slight_smile:
I made a list of issues and thought I could post them chapter by chapter. I’m rev...
New
I can’t setup the Rails source code. This happens in a working directory containing multiple (postgres) Rails apps.
With:
ruby-3.0.0
s...
New
The generated iex result below should list products instead of product for the metadata. (page 67)
iex> product = %Product{}
%Pento....
New
Title: Web Development with Clojure, Third Edition, vB17.0 (p9)
The create table guestbook syntax suggested doesn’t seem to be accepted ...
New
The book has the same “Problem space/Solution space” diagram on page 18 as is on page 17. The correct Problem/Solution space diagrams ar...
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
I am using Android Studio Chipmunk | 2021.2.1 Patch 2
Build #AI-212.5712.43.2112.8815526, built on July 10, 2022
Runtime version: 11.0....
New
root_layout: {PentoWeb.LayoutView, :root},
This results in the following following error:
no “root” html template defined for PentoWeb...
New
I just bought this book to learn about Android development, and I’m already running into a major issue in Ch. 1, p. 20: “Update activity...
New
Other popular topics
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
Do the test and post your score :nerd_face:
:keyboard:
If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
New
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first:
asdf plugin-upd...
New
The V Programming Language
Simple language for building maintainable programs
V is already mentioned couple of times in the forum, but I...
New
Hi folks,
I don’t know if I saw this here but, here’s a new programming language, called Roc
Reminds me a bit of Elm and thus Haskell. ...
New
Jan | Rethink the Computer.
Jan turns your computer into an AI machine by running LLMs locally on your computer. It’s a privacy-focus, l...
New
If you’re getting errors like this:
psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
Explore the power of Ash Framework by modeling and building the domain for a real-world web application.
Rebecca Le @sevenseacat and ...
New
Overarching tutorial for Python beginner and intermediate developers that teaches web development with the Flask framework.
Miguel Gr...
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
- /haskell
- /typescript
- /svelte
- /onivim
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /elm
- /vscode
- /flutter
- /html
- /ash
- /deepseek
- /zig
- /opensuse
- /centos
- /php
- /react-native
- /scala
- /lisp
- /textmate
- /sublime-text
- /nixos
- /debian
- /agda
- /deno
- /django
- /kubuntu
- /nodejs
- /arch-linux
- /ubuntu
- /spring
- /revery
- /manjaro
- /lua
- /diversity
- /julia
- /quarkus
- /markdown









