instance method install_javascript_dependencies

Ruby on Rails 6.1.7.10

Since v6.1.7.10

Available in: v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

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

Type at least 2 characters to search.

↑↓ navigate · open · esc close