Setting rails version


How do I tell rails to use a specified version when creating the
application directory structure?
I have multiple versions of rails installed through gem, but I can't
find how to choose?

Any ideas?

Christophe Bouhier

I interpret the OPs question as how do I generate a particular version
of rails directory structure.

If that's the question the answer is to put the gem version
specification bracketed by underscores as the first argument of the
rails command

rails _1.2.6_ rails126app

I think you can also do things like

rails _<2.0_

To get the latest version < 2.0