kfaustino/rails-templater

Specifying Rails Version

Opened this issue · 2 comments

Apparently, the latest verison of rails is installed automatically after the gem is installed.
I have been using 3.1.3, and now 3.2.2 is installed. (I had to reinstall 3.1.3 to get it to work with the command 'rails 3.1.3 new test_app')

Is there a way to specify which version of rails will be used to build the new application?
Perhaps, a test to see if more than one installed, and if so, prompts for selection?
Could even look like the rails command, above!

Looks like it would then be a parameter in Cli.rb, in run_templater, yes?

Similarly, could it check before installing the latest rails, or is this a feature? ;-)

Regardless, Thanks for the product,
Dirk Taylor

I'll add the -v, [--version] option in version 0.4.0.

As for installing the latest rails, rails-templater has rails 3.1 and above as a dependency

Thanks! That's great.
I'll check out 0.3.0, too.
I saw the Devise recipe and it seemed to work.
Will you merge that in, too?

Looking good!