
andreheijstek
Modern front-end development for Rails, second edition - Struggling to get the first chapter to work
After running /bin/setup
, the first error was: The foreman' command exists in these Ruby versions: That was easy to fix:
gem install foreman`
Then 2 more:
/bin/sh: tailwindcss: command not found
/bin/sh: esbuild: command not found
Fixed with yarn add tailwindcss
and yarn add esbuild
Then bin/dev
lead to new troubles: ActionController::RoutingError (No route matches [POST] "/rails/live/reload")
Looking at localhost:3000
, I see that Rails is running, but I don’t see the app.
What could be wrong here?
First Post!

noelrappin
What branch of the code did you start with? (You might want to start with chapter_01_02, if you haven’t – the earlier branch doesn’t have an app to see, really, it’s just the skeleton.)
My app doesn’t use live reload, so I’m not sure what’s looking for it there?
What do you see at localhost:3000
? If you are on chapter_01/01, there isn’t anything else to see?
Thanks,
Noel
Popular Pragmatic Bookshelf topics










Other popular topics








Latest in Modern Front-End Development for Rails
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /crystal
- /c-plus-plus
- /tailwind
- /kotlin
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /ash
- /vscode
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /zig
- /scala
- /debian
- /nixos
- /lisp
- /agda
- /sublime-text
- /textmate
- /react-native
- /kubuntu
- /arch-linux
- /revery
- /ubuntu
- /manjaro
- /spring
- /django
- /diversity
- /lua
- /nodejs
- /julia
- /c
- /slackware
- /neovim