开发者

In Ruby / Rails, why "gem server" says haml depends on maruku and yard but "gem list" doesn't show these gems?

开发者 https://www.devze.com 2023-01-21 01:20 出处:网络
If I run gem server and go to localhost:8808, one of the entry is haml and it says it depends on maruku and yard

If I run

gem server

and go to localhost:8808, one of the entry is haml and it says it depends on maruku and yard

haml 3.0.22 [rdoc] [www] - depends on maruku, yard.
An elegant, structured XHTML/XML templating engine. Comes with Sass, a similar CSS templating engine. 
Executables are css2sass, haml, html2haml, sass, sass-convert.

but when I gem list on the co开发者_开发问答mmand line, there is no maruku and no yard? I thought if haml depends on them, then the installation would have installed them?


haml lists those gems as development dependencies, so they're not installed by default with gem install, which only installs runtime dependencies.

https://rubygems.org/gems/haml

0

精彩评论

暂无评论...
验证码 换一张
取 消