---
# System prepended metadata

title: '[Ruby On Rails]啟動專案時的注意事項'
tags: [Ruby On Rails]

---

# [Ruby On Rails]啟動專案時的注意事項

###### tags: `Ruby On Rails`

參考資料：https://blog.saeloun.com/2019/04/11/rails-6-rails-db-prepare.html

1.若在terminal執行rails s,
開啟網頁出現database not exists錯誤,
請先在terminal執行

(rails 4)
```terminal
rake db: create
```
(rails 5+)
```terminal
rails db: create
```





