一个兄弟给我发邮件说
“Hi,我搜到了 9 个月前你更新的文章『关于 Markdown 的 ToC,你还想要什么功能?』 用 gem 安装,提示如下图,请问如何解决”
我写的一个 gem,据说安装有问题,我又测不出来
求测,反馈贴图
gem install tocmd
我目前测试 2.1 下面正常
➜ ~ ruby -v
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
➜ ~ gem install tocmd
Fetching: tocmd-0.4.1.gem (100%)
Successfully installed tocmd-0.4.1
Parsing documentation for tocmd-0.4.1
Installing ri documentation for tocmd-0.4.1
Done installing documentation for tocmd after 1 seconds
1 gem installed
在 2.0 下测试也正常啊
➜ tocmd.gem git:(master) ✗ ruby -v
ruby 2.0.0p481 (2014-05-08 revision 45883) [x86_64-darwin13.3.0]
➜ tocmd.gem git:(master) ✗ ruby -Ilib bin/tocmd_conf -f test_data/sample2.md
src path = /Users/sang/workspace/github/tocmd.gem/test_data
desc path = /Users/sang/workspace/github/tocmd.gem/test_data/preview
toc_conf file exist
"start building......"
"process_with_one"
"build = /Users/sang/workspace/github/tocmd.gem/test_data/preview/sample2.html"
"0.4.0"
➜ tocmd.gem git:(master) ✗
为啥有的人装不上呢?