method

install_javascript_dependencies

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: InstallGenerator
install_javascript_dependencies() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide 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
Register or log in to add new notes.