在创建新应用程序时指定要使用的 rails 版本 [英] Specifying rails version to use when creating a new application
本文介绍了在创建新应用程序时指定要使用的 rails 版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I have two versions of rails (2.1.0 and 2.2.2) installed in my computer.
When I create a new application, is it possible to specify that I want to use the older (2.1.0) version?
解决方案
I found here an undocumented option to create a new application using an older version of Rails.
rails _2.1.0_ new myapp
这篇关于在创建新应用程序时指定要使用的 rails 版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文