diff options
author | printercu <printercu@gmail.com> | 2018-04-23 20:16:30 +0300 |
---|---|---|
committer | Max Melentiev <melentievm@gmail.com> | 2018-04-23 20:37:26 +0300 |
commit | 8e9186d241f24fe01a96a321900a182bc581c24e (patch) | |
tree | dbb4a6dcc86e918f00fbdbebc3b867a823b8c2d7 /activemodel/test/cases/validations/length_validation_test.rb | |
parent | cde7c30781e45dab23ff6be8d5b83b3c67344b64 (diff) | |
download | rails-8e9186d241f24fe01a96a321900a182bc581c24e.tar.gz rails-8e9186d241f24fe01a96a321900a182bc581c24e.tar.bz2 rails-8e9186d241f24fe01a96a321900a182bc581c24e.zip |
Respect NODE_ENV when running `rails yarn:install`
`yarn install --prod` removes dev deps,
so it's impossible to run `assets:precompile` with dev npm dependencies.
This change makes rake task pass NODE_ENV to yarn when explicitly set.
Diffstat (limited to 'activemodel/test/cases/validations/length_validation_test.rb')
0 files changed, 0 insertions, 0 deletions