@rubys
Created the demo app with the following command from page 102:
work> rails new demo
Examined the installation with the following command from page 104:
demo> bin/rails about
Output indicated Rails 7.0.5:
About your application's environment
Rails version 7.0.5
So I deleted the demo directory and ran the command, specifying the version:
rails _7.0.4_ new demo
Command bin/rails about
still reports Rails 7.0.5. However, the Gemfile indicates 7.0.4:
gem "rails", "~> 7.0.4"
I presume 7.0.4 vs 7.0.5 is not going to make much of a difference. However, it would be nice to understand what’s going here.
FYI, gem list rails --local
output:
*** LOCAL GEMS ***
importmap-rails (1.1.6)
rails (7.0.5, 7.0.4)
rails-dom-testing (2.0.3)
rails-html-sanitizer (1.6.0)
sprockets-rails (3.4.2)
stimulus-rails (1.2.1)
turbo-rails (1.4.0)