From a directory outside of the api application (such as its parent - cd ..
) I would do
rails new comparison_real_app
and then compare the contents of the comparison_real_app
with your app and copy over the files that are missing into the api app and change any other files as required.