Agile Web Development with Rails 8: Error in "Choosing a Rails Version" (page 11)

On this section, it is claimed that the command

rails _8.0.2_ --version

will generate a file named “Gemfile” and this is not the case.