How to create a new environment in Ruby on Rails?

后端 未结 4 1087
伪装坚强ぢ
伪装坚强ぢ 2020-12-08 01:45

I\'m trying to create a new environment (build) for using it with hudson.

I\'m doing this because I didn\'t want to mix up my test databases with hudson test databas

4条回答
  •  遥遥无期
    2020-12-08 02:43

    Create a file config/environments/build.rb which will contain the options specific to your environment.
    Add your new environment's database credentials in config/database.yml.

    Rock and roll!

提交回复
热议问题