我正在尝试在 OSX 10.7.5 上使用source2swagger
它取决于“json”,所以我正在安装它,然后尝试如下运行。
machine:source2swagger jpbeuc1$ sudo gem install json
Password:
Building native extensions. This could take a while...
Successfully installed json-1.7.7
1 gem installed
Installing ri documentation for json-1.7.7...
Installing RDoc documentation for json-1.7.7...
machine:source2swagger jpbeuc1$ bin/source2swagger
bin/source2swagger:4:in `require': no such file to load -- json (LoadError)
from bin/source2swagger:4
谁能告诉我这里有什么不工作以及如何让 source2swagger 看到“json”?