Capistrano no such file to load — deploy

后端 未结 6 2132
感情败类
感情败类 2021-01-05 03:37

When I try to run any cap commands, I get a "no such file to load -- deploy" error.

Here is the output:

Tylers-MacBook-Pro:cap_a         


        
6条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-05 04:18

    So I ran into this same error. My mistake was is after installing the gem files I skipped the install steps and instead had used old 2.x version examples for my Capfile and deploy files...

    So after doing bundle install try using the command cap install STAGES=sandbox,qa,production, or whichever stages you need. After that it should overwrite your files. Go edit the files it added and you should be good to go.

提交回复
热议问题