Skip to content

No such file or directory - /usr/src/app/bin/yarn #40795

@stefanahman

Description

@stefanahman

Steps to reproduce

When I run bin/rails assets:precompile I get a Errno::ENOENT exception. Probably related to #40739.

Expected behavior

I expect the precompilation of assets to fallback to existing yarn when not found in bin directory.

Actual behavior

RUN RAILS_ENV=production bin/rails assets:precompile
rails aborted!
Errno::ENOENT: No such file or directory - /usr/src/app/bin/yarn
 
Tasks: TOP => assets:precompile => yarn:install

System configuration

Rails version: 6.1.0

Ruby version: 2.7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions