how to create new rails project with postgresql code example Example: create rails app with postgres rails new myapp --database=postgresql