Error about nokogiri while capistrano deployment on ubuntu server

后端 未结 4 1104
一个人的身影
一个人的身影 2021-02-02 01:10

While bundle:install phase after deploy:finalize_update,i\'m getting an error about nokogiri. It suggests ,

 ** [out :: *******] Make s         


        
4条回答
  •  广开言路
    2021-02-02 01:45

    Connect to you host with deployer user, than try install bundle by yourself:

    cd {your last release path}
    bundle config build.nokogiri --with-xml2-include=/usr/include/libxml2/libxml
    bundle install --gemfile Gemfile --path shared/bundle --deployment --quiet --without development test
    

    Than run capistrano manually.

    This worked for me.

提交回复
热议问题