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.
カスタムの終了コードを使用して rake タスクを中止したいと考えています (実行中のシェル スクリプトに、特定の条件が満たされたということを伝えるため)。
Rake タスクが成功すると 0 が返され、失敗すると常に 1 が返されます。カスタム コードを作成する方法はありますか?