Hello,
Is it possible to declare the version of Rails used with the seminal
“rails /path/to/my_app” command?
For example, I now have 1.2.1 and 1.1.6 installed on my machine. If I
run “rails my_app” I get 1.2.1 produced skeleton code. Is there a way
to get 1.1.6 results?
Regards,
Andy K.
On 2/3/07, Andy K. [email protected] wrote:
Hello,
Is it possible to declare the version of Rails used with the seminal
“rails /path/to/my_app” command?
For example, I now have 1.2.1 and 1.1.6 installed on my machine. If I
run “rails my_app” I get 1.2.1 produced skeleton code. Is there a way
to get 1.1.6 results?
I don’t know if there’s a better way, but one that seems to work is to
use the script in the gem itself rather than the one that rubygems
creates.
ruby ruby -rubygems -e "puts Gem.path.last+'/gems/rails-1.1.6/bin/rails'"
NAME
It looks to me like gems doesn’t support multiple versions of
executables, only libraries.
On 2/3/07, George O. [email protected] wrote:
It looks to me like gems doesn’t support multiple versions of
executables, only libraries.
On 2/4/07, Jean-François [email protected] wrote:
$ rails 1.1.6 my_app
I stand corrected. Thanks! 