shusseina

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

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…

https://github.com/minitest/minitest

Where Next?

Popular Pragmatic Bookshelf topics Top

ianwillie
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
raul
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
JohnS
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
joepstender
The generated iex result below should list products instead of product for the metadata. (page 67) iex> product = %Product{} %Pento....
New
jeremyhuiskamp
Title: Web Development with Clojure, Third Edition, vB17.0 (p9) The create table guestbook syntax suggested doesn’t seem to be accepted ...
New
swlaschin
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
jwandekoken
Book: Programming Phoenix LiveView, page 142 (157/378), file lib/pento_web/live/product_live/form_component.ex, in the function below: d...
New
New
gorkaio
root_layout: {PentoWeb.LayoutView, :root}, This results in the following following error: no “root” html template defined for PentoWeb...
New
dachristenson
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 Top

DevotionGeo
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
AstonJ
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
PragmaticBookshelf
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
AstonJ
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
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
Maartz
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
First poster: AstonJ
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
AstonJ
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
PragmaticBookshelf
Explore the power of Ash Framework by modeling and building the domain for a real-world web application. Rebecca Le @sevenseacat and ...
New
PragmaticBookshelf
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

Agile Web Development with Rails 7 Portal

Sub Categories: