Hi, i am new to rails and i would like to learn more about Rspec that's why i purchased this book.
Ufortunatelly i didn't get to far as i got stuck in the first chapter; i am trying to follow along with the source code but when i run "bin/rails generate rspec:install" i get a bunch of error like "/home/username/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:109:in `initialize': wrong number of arguments (given 3, expected 2) (ArgumentError)"
Hi, i am new to rails and i would like to learn more about Rspec that's why i purchased this book. Ufortunatelly i didn't get to far as i got stuck in the first chapter; i am trying to follow along with the source code but when i run "bin/rails generate rspec:install" i get a bunch of error like "/home/username/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:109:in `initialize': wrong number of arguments (given 3, expected 2) (ArgumentError)"
Any thoughs about what could cause the problem.
Many thanks