
JohnS
Modern CSS with Tailwind: can’t setup the Rails source code
I can’t setup the Rails source code. This happens in a working directory containing multiple (postgres) Rails apps.
With:
ruby-3.0.0
sqlite3 3.24.0
bin/setup
[...]
== Preparing database ==
rails aborted!
NoMethodError: undefined method `enums' for #<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x00007fcb7049a1e0
rails s starts up, but i get:
ActionView::SyntaxErrorInTemplate in HomeController#intro
Encountered a syntax error while rendering template: check <%# Version 1 %>
First Post!

Mung
I’ve just started on the book. I am going to try to skip the bin/setup step completely.
First thing I plan to do is comment out any gems in the Gemfile which I do not already have installed. For the Gems I do already have installed I plan to set the specific gem version in the Gemfile. Then I’ll run bundle install. Of course, I’ve already created a Git repo! After all that I’ll try running rails server and see where that gets me. I just have to do it the hard way.
I suspect there are gems in the Gemfile which are not needed at all.
Popular Prag Prog topics










Other popular topics










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