开发者

Specify Rails versions

开发者 https://www.devze.com 2023-01-09 01:33 出处:网络
I have installed Rails 2.2.3 in Ubuntu 10.04 through the repository. After found that it i开发者_高级运维s not the newest version, I decided to install it through RubyGems. So how do I specify which R

I have installed Rails 2.2.3 in Ubuntu 10.04 through the repository. After found that it i开发者_高级运维s not the newest version, I decided to install it through RubyGems. So how do I specify which Rails version to use when I start a project?


After you have created your project, modify the following statement in config/environment.rb

RAILS_GEM_VERSION = '2.1.1' unless defined? RAILS_GEM_VERSION
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号