mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Run app:update:bin from actiontext generator
This commit is contained in:
parent
0bc9c16ffc
commit
028d1611cd
1 changed files with 1 additions and 2 deletions
|
@ -9,8 +9,7 @@ module ActionText
|
|||
source_root File.expand_path("templates", __dir__)
|
||||
|
||||
def install_javascript_dependencies
|
||||
template "#{GEM_ROOT}/../railties/lib/rails/generators/rails/app/templates/bin/yarn.tt",
|
||||
"bin/yarn"
|
||||
run "rake app:update:bin"
|
||||
|
||||
say "Installing JavaScript dependencies"
|
||||
run "yarn add #{js_dependencies.map { |name, version| "#{name}@#{version}" }.join(" ")}",
|
||||
|
|
Loading…
Reference in a new issue