rails api install