"rails" 不是内部或外部团队
"rails" is not internal or external team
我用
Windows7x64
比特纳米
redmine-3.4.3-2
安装在目录:E:\srw\Bitnami\redmine-3.4.3-2
我和书一起工作"Redmine Plugin Extension and Development"
引自本书:
"Running rails genera te from the root of our Redmine installation will provide a list of available generators (truncated in the following snippet to list only those that are currently relevant):
$ rails generate
RedminePlugin:
redmine_plugin
RedminePluginController:
redmine_plugin_controller
RedminePluginModel:
redmine plugin model
我发射
E:\srw\Bitnami\redmine-3.4.3-2\use_redmine.bat
我尝试执行命令$ rails generate
我收到消息
e:\srw\Bitnami\redmine-3.4.3-2\apps\redmine> rails generate
"rails" is not internal or external
command, executable program or batch file.
问题。
如何让团队发挥作用?
在 运行 此页面上显示的命令之前,您应该通过单击 "Start -> Bitnami APPNAME Stack -> Application console" (Windows) 下“开始”菜单中的快捷方式来加载 Bitnami 堆栈环境。 Learn more.
此外,考虑到您应该在 rails 命令之前使用 bundle exec
:
$ bundle exec rails --version
Rails 4.2.8
我用
Windows7x64
比特纳米
redmine-3.4.3-2
安装在目录:E:\srw\Bitnami\redmine-3.4.3-2
我和书一起工作"Redmine Plugin Extension and Development"
引自本书:
"Running rails genera te from the root of our Redmine installation will provide a list of available generators (truncated in the following snippet to list only those that are currently relevant):
$ rails generate
RedminePlugin:
redmine_plugin
RedminePluginController:
redmine_plugin_controller
RedminePluginModel:
redmine plugin model
我发射
E:\srw\Bitnami\redmine-3.4.3-2\use_redmine.bat
我尝试执行命令$ rails generate
我收到消息
e:\srw\Bitnami\redmine-3.4.3-2\apps\redmine> rails generate "rails" is not internal or external command, executable program or batch file.
问题。
如何让团队发挥作用?
在 运行 此页面上显示的命令之前,您应该通过单击 "Start -> Bitnami APPNAME Stack -> Application console" (Windows) 下“开始”菜单中的快捷方式来加载 Bitnami 堆栈环境。 Learn more.
此外,考虑到您应该在 rails 命令之前使用 bundle exec
:
$ bundle exec rails --version
Rails 4.2.8