bundle --help
显示一个帮助文件,其中列出了命令(即安装)和实用程序(即show)。如何查看有关如何使用特定命令或实用程序的详细信息?
答案 0 :(得分:1)
我在命令行中通过反复试验找到了这个:
bundle --help show
Usage:
bundle show [GEM]
Options:
[--paths=List the paths of all gems that are required by your Gemfile.]
[--no-color=Disable colorization in output]
-V, [--verbose=Enable verbose output mode]
Description:
Show lists the names and versions of all gems that are required by your Gemfile. Calling show with [GEM] will list the exact location of that gem on your machine.
所以一般来说,输入bundle --help <command or utility name>