starting rails in test environment

前端 未结 3 749
野性不改
野性不改 2021-02-06 02:47

I\'m trying to load up rails in the test environment using a ruby script. I\'ve tried googling a bit and found this recommendation:

require \"../../config/enviro         


        
3条回答
  •  说谎
    说谎 (楼主)
    2021-02-06 03:32

    This command did it for me. I was able to load up the test env aloong with it's Database.

    $rails s -e test
    

提交回复
热议问题