Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试着跑步
FAIL_ON_ERROR=1 bin/rake traceroute
在 codeship 上,但它抱怨它找不到 rake 任务跟踪路由,给我“不知道如何构建任务”错误消息。它适用于我的机器(tm),但不适用于代码。怎么了?
Traceroute 仅在开发环境中可用。我之前包含的设置命令
export RAILS_ENV=test
为了让 traceroute 运行,我在开发环境中运行了 traceroute,方法是将运行 traceroute 的命令更改为
RAILS_ENV=development FAIL_ON_ERROR=1 bin/rake traceroute