increments / qiita-markdown

Qiita-specified markdown processor.
MIT License
394 stars 31 forks source link

Upgrade github-linguist from 4.x to 7.x #150

Closed maedana closed 7 months ago

maedana commented 10 months ago

I have trouble to install 1.6.x of rugged. The following error has occurred.

Installing rugged 1.6.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.                                                     

    current directory: /home/maedana/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/rugged-1.6.3/ext/rugged            
/home/maedana/.rbenv/versions/3.2.2/bin/ruby extconf.rb --use-system-libraries                                         
checking for gmake... no                                                                                               
checking for make... yes                                                                                               
Building Rugged using system libraries.                                                                                
libgit2 version is not compatible, expected ~> 1.6.0                                                   
...

The latest version of rugged is 1.7.x. I could work around this by bringing github-linguist up to date. The following PR solved the problem in my environment, and I confirmed that RSpec also passes.

mziyut commented 9 months ago

Sorry, I recognized that there is a compatibility issue. I will check this pull request again.