Ruby on rails 错误:无法识别命令

Ruby on rails 错误:无法识别命令,ruby-on-rails,command,rvm,Ruby On Rails,Command,Rvm,我终于在第页找到了一个我能理解的图表插件,现在我正按照步骤操作,我发现了以下错误: $ rails testing_ofc_2 Error: Command not recognized Usage: rails COMMAND [ARGS] The most common rails commands are:... 同样,当我用rvm键入一些命令时,我得到了这个错误 -bash: rvm: command not found 如何修复此问题?看起来说明已过时。试一试 $ rails n

我终于在第页找到了一个我能理解的图表插件,现在我正按照步骤操作,我发现了以下错误:

$ rails testing_ofc_2
Error: Command not recognized
Usage: rails COMMAND [ARGS]

The most common rails commands are:...
同样,当我用rvm键入一些命令时,我得到了这个错误

-bash: rvm: command not found

如何修复此问题?

看起来说明已过时。试一试

$ rails new testing_ofc_2
$ cd testing_ofc_2
$ script/rails plugin install git://github.com/pullmonkey/open_flash_chart.git

当我键入第三行时,它会显示:-bash:script/plugin:没有这样的文件或目录