Your first "yes" is incorrect. Yeoman installs through npm and I imagine it runs on Node.js, but it can be used for many different projects: http://yeoman.io/community-generators.html
There are examples for CakePHP and Flask but none for Rails. Do you know of any? I have a simple traditional Rails which I am looking into porting to use Backbone and Rails as backend.