create new rails app with rspec code example Example: rails api only with postgress and rspec rails new app-name --api -T -d postgresql