tricknotes / ember-cli-rails

Unify your EmberCLI and Rails Workflows
http://thoughtbot.github.io/ember-cli-rails/
MIT License
713 stars 205 forks source link

Raise a DependencyError when Yarn is requested but not available #565

Closed drcapulet closed 6 years ago

drcapulet commented 6 years ago

I ended up hitting some cryptic errors because Yarn was no longer on $PATH and thus my dependencies weren't fixed. This change causes any attempted yarn commands to fail when yarn or yarn_path are provided instead of silently falling back to npm.

seanpdoyle commented 6 years ago

Merged as https://github.com/thoughtbot/ember-cli-rails/commit/65151441749adcbbbfb95b1aaf1868a702f384f2.

Thanks!