78e0e183c5
When we use `bin/yarn` without original yarn, the following error will be occurred: ``` bin/yarn:12:in `initialize': no implicit conversion of nil into String (TypeError) ``` This means `executable_path` is `nil`. To handle missing yarn correctly, checking `executable_path` seems good. This is a result of my local without yarn. ``` Yarn executable was not detected in the system. Download Yarn at https://yarnpkg.com/en/docs/install rake aborted! ``` This commit follows up https://github.com/rails/rails/pull/40646. |
||
---|---|---|
.. | ||
minitest | ||
rails | ||
rails.rb |