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.
I was able to reproduce your error. There are a number of lines in app/views/home/intro.html.erb which begin with <% followed by nothing but whitespace. I simply deleted all those lines.
I was able to fix this by changing the name of the dependency in the Gemfile.
on line 6 if you change gem “activerecord-postgres_enum” to “activerecord-pg_enum” the DB setup worked for me.