bundle exec 在 Windows 中不工作
bundle exec not working in Windows
我正在关注 Redmine Install Tutorial
第 5 步显示
Step 5 - Session store secret generation
This step generates a random key used by Rails to encode cookies storing session data thus preventing their tampering.
Generating a new secret token invalidates all existing sessions after restart.
bundle exec rake generate_secret_token
我在 Windows 10。当我尝试在 CMD 中执行 bundle exec 时,我找不到指定的路径。无论出于何种原因,我找不到任何关于这个问题的参考(也许我没有在寻找正确的术语)。我无法想象我是第一个遇到这种情况的人,但无论如何,我该如何解决呢?我可以检查 ruby 版本、gem 版本和 rails 版本。我已经能够很好地执行步骤 1-4,所以我不明白为什么我不能 运行 bundle exec。我想这是隐含的,但我也不能执行第 6 步。
你安装了 rake rubygem 了吗?尝试在 CMD 中 运行 这个:
gem install rake
然后再次运行命令:
bundle exec rake generate_secret_token
我正在看这个:source
我正在关注 Redmine Install Tutorial
第 5 步显示
Step 5 - Session store secret generation This step generates a random key used by Rails to encode cookies storing session data thus preventing their tampering. Generating a new secret token invalidates all existing sessions after restart.
bundle exec rake generate_secret_token
我在 Windows 10。当我尝试在 CMD 中执行 bundle exec 时,我找不到指定的路径。无论出于何种原因,我找不到任何关于这个问题的参考(也许我没有在寻找正确的术语)。我无法想象我是第一个遇到这种情况的人,但无论如何,我该如何解决呢?我可以检查 ruby 版本、gem 版本和 rails 版本。我已经能够很好地执行步骤 1-4,所以我不明白为什么我不能 运行 bundle exec。我想这是隐含的,但我也不能执行第 6 步。
你安装了 rake rubygem 了吗?尝试在 CMD 中 运行 这个:
gem install rake
然后再次运行命令:
bundle exec rake generate_secret_token
我正在看这个:source