yegor256/xcop

Feature. Homebrew installation method

Offen

#53 geöffnet am 20.05.2025

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Ruby (8 Forks)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (31 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 16h 52m) (13 gemergte PRs in 30 T)

Beschreibung

Hello! For users without Ruby experience, installing a package through gem may not be as easy as it seems. For example. I'm using Fedora 42 and when installing I get an error

 ~ λ gem install xcop     
Building native extensions. This could take a while...
ERROR:  Error installing xcop:
	ERROR: Failed to build gem native extension.

    current directory: /home/aagumin/.local/share/gem/ruby/gems/racc-1.8.1/ext/racc/cparse
/usr/bin/ruby -I/usr/share/rubygems extconf.rb
mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h

You might have to install separate package for the ruby development
environment, ruby-dev or ruby-devel for example.

extconf failed, exit code 1

Gem files will remain installed in /home/aagumin/.local/share/gem/ruby/gems/racc-1.8.1 for inspection.
Results logged to /home/aagumin/.local/share/gem/ruby/extensions/x86_64-linux/3.4.0/racc-1.8.1/gem_make.out

Is it possible to add to dnf or homebrew? xcop

Contributor Guide