且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 Windows 上安装 RedCloth?

更新时间:2022-12-07 11:23:55

这是我对第二个错误无法加载 1.9/redcloth_scan"的解决方法,这看起来像是 Windows 上 RedCloth 的错误.gem install RedCloth --no-rdoc 之后,我运行

Here is my workaround to your second error, "Couldn't load 1.9/redcloth_scan", which looks like a bug of RedCloth on Windows. After gem install RedCloth --no-rdoc, I run

cd c:Ruby192lib
ubygems1.9.1gemsRedCloth-4.2.8lib
mkdir 1.9
copy redcloth_scan.so 1.9

当然,您应该将该目录替换为您的路径D:ProgramsRubylib ubygems1.9.1gemsRedCloth-4.2.8lib".

You should replace that directory with your path, "D:ProgramsRubylib ubygems1.9.1gemsRedCloth-4.2.8lib", of course.