一个愚蠢的问题:
当我在 rails 应用程序中运行 rails 时,它显示
Usage: rails COMMAND [ARGS]
The most common rails commands are:
generate Generate new code (short-cut alias: "g")
.....
但在rails应用程序之外,它显示:
Usage:
rails new APP_PATH [options]
Options:
-r, [--ruby=PATH] # Path to the Ruby binary of your choice
.....
为什么 ?