DcsMarionDickten

DcsMarionDickten

Agile Web Development with Rails 8: Post a corrected version that works, please (errors start from p.9)

I’m a seasoned Rails programmer trying to get up to date with the newest releases. Right from the beginning of the book there were so many things that did not work that I really cannot recommend the book for any beginner in Rails. It actually started with `gem install rails -v 8.0.2 –no-document`. If you have any older Rails versions already installed using the same Ruby version this is going to cause conflicts. Solution: Make it clear to the reader that they should install a version of Ruby they do not already have installed, use rvm or any other Ruby version management tool to make sure this Ruby version is used, and install Rails 8 using it.

It goes on on page 66. `rails new depot -css tailwind` does not work. During installment a task `css:install:css` will be called which does not exist. This is a bug in Rails that has been documented a number of times. It should be mentioned in the text! From then on, generating the Product scaffold will not get you the layout shown in the book, and installing Tailwind manually later on will not fix that. I cannot imagine the book was worked through by someone before publication, and I’m seriously disappointed. On the Pragprog website, there should be a link to a page of errata in sequence of their occurrence in the text, not a forum where I can spend hours clicking around only to find the problem was never addressed.

I’m really sorry to be so negative, but I wanted to spend a couple of hours on getting up to date and not whole days on debugging the book.

Where Next?

Popular Pragmatic Bookshelf topics Top

brianokken
Many tasks_proj/tests directories exist in chapters 2, 3, 5 that have tests that use the custom markers smoke and get, which are not decl...
New
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
jesse050717
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
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
AleksandrKudashkin
On the page xv there is an instruction to run bin/setup from the main folder. I downloaded the source code today (12/03/21) and can’t see...
New
AufHe
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
rainforest
Hi, I’ve got a question about the implementation of PubSub when using a Phoenix.Socket.Transport behaviour rather than channels. Before ...
New
andreheijstek
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
New
redconfetti
Docker-Machine became part of the Docker Toolbox, which was deprecated in 2020, long after Docker Desktop supported Docker Engine nativel...
New

Other popular topics Top

dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me. I think the Planck and the Preonic (o...
New
Exadra37
Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
New
PragmaticBookshelf
Escape callback hell and ship fast, clean code that reads as smoothly as it runs. Squash bugs and stamp out memory leaks with an intuitiv...
New
PragmaticBookshelf
Lint your docs like code: turn any style guide into enforceable rules with Vale and publish clear, consistent content every time. ...
New

Sub Categories: