Agile Web Development with Rails 8: Typo in Linux install [solved]

Title: Agile Web Development with Raiis 8 : Typo in Linux install rails gem. Chapter 1 Installing Rails (page number 12 )

The command to install the rails gem is truncated

$ -v 8.0.0.rc1 --pre --no-document
should be:

$ gem install rails -v 8.0.0.rc1 --pre --no-document

with a 'gem install rails ’ before the ‘-v’