If you want to use anthoer database other than MySQL, you can edit the database.yml in config folder after you create the rails porject.
However, if you know that you'll be using database other than MySQL, you can save yourself some effort by telling rails when you create the application.
work> rails depot --database=sqlite3