method
install_javascript_dependencies
v6.1.3.1 -
Show latest stable
- Class:
ActionText::Generators::InstallGenerator
install_javascript_dependencies()public
No documentation available.
# File actiontext/lib/generators/action_text/install/install_generator.rb, line 11
def install_javascript_dependencies
rails_command "app:binstub:yarn", inline: true
say "Installing JavaScript dependencies", :green
run "#{Thor::Util.ruby_command} bin/yarn add #{js_dependencies.map { |name, version| "#{name}@#{version}" }.join(" ")}",
abort_on_failure: true, capture: true
end