Capistrano 'Bundle Not Found' Error During Deployment

前端 未结 4 1045
抹茶落季
抹茶落季 2020-12-31 12:46

When I run cap deploy:update I get the error below, indicating that bundle is not found. When I run echo $PATH from cap shell

4条回答
  •  梦毁少年i
    2020-12-31 13:31

    To avoide such problem you should have most recent versions of RVM (currently it is 1.13.5) installed in both places: locally and on remote server.

    Next, check if your deploy.rb has

    require "rvm/capistrano"
    require "bundler/capistrano"
    

    This line is not needed anymore:

    $:.unshift(File.expand_path('./lib', ENV['rvm_path']))
    

    Hope this will help

提交回复
热议问题