gpt4 book ai didi

ruby - 安装 RedCloth 时出错

转载 作者:太空宇宙 更新时间:2023-11-03 17:02:57 24 4
gpt4 key购买 nike

尝试在 openSuse 上安装 RedCloth 时出现此错误:

sudo gem install RedCloth
Building native extensions. This could take a while...
ERROR: Error installing RedCloth:
ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb
creating Makefile

make
sh: make: nie znaleziono polecenia


Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/RedCloth-4.2.3 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/RedCloth-4.2.3/ext/redcloth_scan/gem_make.out

我试图用谷歌搜索并尝试一切。所以我需要帮助。

最佳答案

我刚刚遇到了 this same 一个类似的问题,并通过安装 ruby​​ 开发包修复了它。对我来说,命令是:

sudo apt-get install ruby1.9.1-dev

我在 this blog 上找到了答案(以及对问题的更好描述) .

这不是这个问题的确切答案,但希望它对偶然发现此页面的其他人有用。

关于ruby - 安装 RedCloth 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2552820/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com