instance method
install_javascript_dependencies
Ruby on Rails 6.1.7.10
Since v6.1.7.10Signature
install_javascript_dependencies()
No documentation comment.
Source
# 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
Defined in actiontext/lib/generators/action_text/install/install_generator.rb line 11
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Generators::InstallGenerator