diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-12-02 12:50:51 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-12-02 12:50:51 +0900 |
commit | dffeb3d70cd50b0759a7481f8e83dea5d2b9e7dd (patch) | |
tree | 7f905a61e3822e5394263f149272afa7a6ea77b9 | |
parent | 4e73ffa9b45904492815f8f67d4695ef719e0350 (diff) | |
download | rails-dffeb3d70cd50b0759a7481f8e83dea5d2b9e7dd.tar.gz rails-dffeb3d70cd50b0759a7481f8e83dea5d2b9e7dd.tar.bz2 rails-dffeb3d70cd50b0759a7481f8e83dea5d2b9e7dd.zip |
use yarn binstub in `bin/update`
Follow up to 3dac36bd8e26363bb10f4d2a7b21efa75d200e26
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/bin/update.tt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/bin/update.tt b/railties/lib/rails/generators/rails/app/templates/bin/update.tt index 0d8ca2f902..dcd80b6ce5 100644 --- a/railties/lib/rails/generators/rails/app/templates/bin/update.tt +++ b/railties/lib/rails/generators/rails/app/templates/bin/update.tt @@ -17,7 +17,7 @@ chdir APP_ROOT do system! 'gem install bundler --conservative' system('bundle check') || system!('bundle install') <% if options[:yarn] %> - system! 'yarn' + system! 'bin/yarn' <% end %> <% unless options.skip_active_record -%> |