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

GilWright
Working through the steps (checking that the Info,plist matches exactly), run the demo game and what appears is grey but does not fill th...
New
Alexandr
Hi everyone! There is an error on the page 71 in the book “Programming machine learning from coding to depp learning” P. Perrotta. You c...
New
lirux
Hi Jamis, I think there’s an issue with a test on chapter 6. I own the ebook, version P1.0 Feb. 2019. This test doesn’t pass for me: ...
New
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |> handle_event() |> render() but the correc...
New
patoncrispy
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
jonmac
The allprojects block listed on page 245 produces the following error when syncing gradle: “org.gradle.api.GradleScriptException: A prob...
New
rainforest
Hi, I’ve got a question about the implementation of PubSub when using a Phoenix.Socket.Transport behaviour rather than channels. Before ...
New
ggerico
I got this error when executing the plot files on macOS Ventura 13.0.1 with Python 3.10.8 and matplotlib 3.6.1: programming_ML/code/03_...
New
bjnord
Hello @herbert ! Trying to get the very first “Hello, Bracket Terminal!" example to run (p. 53). I develop on an Amazon EC2 instance runn...
New
roadbike
From page 13: On Python 3.7, you can install the libraries with pip by running these commands inside a Python venv using Visual Studio ...
New

Other popular topics Top

PragmaticBookshelf
From finance to artificial intelligence, genetic algorithms are a powerful tool with a wide array of applications. But you don't need an ...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
PragmaticBookshelf
Create efficient, elegant software tests in pytest, Python's most powerful testing framework. Brian Okken @brianokken Edited by Kat...
New
PragmaticBookshelf
Author Spotlight Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
PragmaticBookshelf
Leverage Elixir and the Nx ecosystem to build intelligent applications that solve real-world problems in computer vision, natural languag...
New
PragmaticBookshelf
Get the comprehensive, insider information you need for Rails 8 with the new edition of this award-winning classic. Sam Ruby @rubys ...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New
PragmaticBookshelf
As digital systems increasingly run the world, mastery of the recurring patterns of software development risk is the key to fast and effe...
New

Latest in Agile Web Development with Rails 7

Agile Web Development with Rails 7 Portal

Sub Categories: