An error occurred while installing rugged

后端 未结 6 1685
长发绾君心
长发绾君心 2021-02-01 12:07

Following this tutorial [link] to install gitlab on a dedicated server. I need to :

sudo -u git -H bundle install --deployment --without development test postgre         


        
6条回答
  •  迷失自我
    2021-02-01 12:47

    Note: The above mentioned solutions did not work for me.


    Here is the error log I got

    checking for gmake... no
    checking for make... yes
    Building Rugged using system libraries.
    libgit2 version is not compatible, expected ~> 0.99.0
    *** extconf.rb failed ***
    Could not create Makefile due to some reason, probably lack of necessary
    libraries and/or headers.  Check the mkmf.log file for more details.  You may
    need configuration options.
    

    It was mainly saying libgit2 version is not compatible, expected ~> 0.99.0

    and I tried gem install rugged -v '0.99.0' and then bundle install.

    then the problem is solved.

提交回复
热议问题