add rails app and rd_api gem