これは重複した質問であることは認識していますが、この問題に関連して見つけた他のすべての回答は役に立たないようです...
gem の要件に達し、次の情報で失敗したGitLab
ときに、gem の依存関係をインストールして実行しています。NokoGiri
ERROR: Error installing nokogiri:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
extconf.rb:10:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
extconf.rb:10:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
extconf.rb:11:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... yes
checking for xmlParseDoc()... -lxml2
checking for xsltParseStylesheetDoc()... -lxslt
-----
libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
libxslt
したがって、このエラーにより、次のコマンドを使用してインストールを試行する道が開かれます。
$ sudo apt-get install libxslt-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libxslt1-dev' instead of 'libxslt-dev'
libxslt1-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded.
それで、何が得られますか?NokoGiri はこのパッケージを必要としていますが、パッケージは既にインストールされています!! この問題を乗り越えることができないようですが、何か助けはありますか?