How can I generate older rails application when current version is 3.0.3

I have 2 different Rails Rubygems installed on my Linux OS [2.3.8 and 3.0.3], but the current active Rails version is 3.0.3. So is it possible to generate Rails app using 2.3.8 style generator:rails testapp not new one: rails new testapp?

Answers


I'd recommend installing RVM and setting up different gemsets for each version of Rails. That way you can easily switch between Rails versions by just switching gemsets.


You can tell Rails to use version 2.3.8 like this:

rails _2.3.8_ testapp

Need Your Help

is the wso2 cep HA doc running the nodes on a single server

wso2 wso2cep

Is the doc in the ha documentation running both nodes on the same server? why are all the ip addresses 127.0.0.1 and H2 config referring on node2 referring to node1's filesystem path.

Provide custom Validator for @Size

java-ee-6 bean-validation

How could I provide a custom validator implementation for a built-in constraint like @Size? in a JavaEE6 JSF Web Application

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.