Capistrano no such file to load — deploy

后端 未结 6 2092
感情败类
感情败类 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:00

    Here's my Capfile -- try it since you're on capistrano 2

    load 'deploy' if respond_to?(:namespace) # cap2 differentiator
    
    # Uncomment if you are using Rails' asset pipeline
    # load 'deploy/assets'
    
    Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
    
    load 'config/deploy' # remove this line to skip loading any of the default tasks
    

提交回复
热议问题