ruby – 显示宝石依赖的命令?
有没有一个命令告诉你宝石所依赖的其他宝石?
另外,有没有办法自动安装宝石的依赖? 解决方法
以下信息是从以下链接的rubygems命令引用的.
http://guides.rubygems.org/command-reference/#gem-dependency 你要求的第一个命令是“宝石依赖”.以下是命令描述. gem dependency GEMNAME [options] Options: -v,--version VERSION Specify version of gem to uninstall -r,--[no-]reverse-dependencies Include reverse dependencies in the output -p,--pipe Pipe Format (name --version ver) Common Options: --source URL Use URL as the remote source for gems -h,--help Get help on this command --config-file FILE Use this config file instead of default --backtrace Show stack backtrace on errors --debug Turn on Ruby debugging Arguments: GEMNAME name of gems to show Summary: Show the dependencies of an installed gem Defaults: --version '> 0' --no-reverse 你需要的第二个命令是“gem install”.依赖关系自动安装.请参阅命令参考以获取更多详细信息.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 正则表达式知识详解之替换 (java版示例)
- PostgreSQL 9.4 Released! 18th December 2014
- ruby-on-rails – 使用path_prefix的浅路由?
- Flash与3D编程探秘(一)- Flash与3D空间
- UI抽屉菜单DrawerLayout(一)(测拉菜单)
- objective-c – MPMoviePlayerController关闭后顶部的消失状
- .net – 带命名空间的XML的XPath
- c# – UWP Application Insights没有崩溃的调用堆栈
- flex配置https访问协议
- (Ryan的Koa系列博客)7.依赖库:koa-compose(本文尚未完成