method

javascript_runtime_gemfile_entry

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: AppBase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.2.3) is shown here.

javascript_runtime_gemfile_entry() private

No documentation

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

Hide source
# File railties/lib/rails/generators/app_base.rb, line 376
      def javascript_runtime_gemfile_entry
        comment = "See https://github.com/rails/execjs#readme for more supported runtimes"
        if defined?(JRUBY_VERSION)
          GemfileEntry.version "therubyrhino", nil, comment
        elsif RUBY_PLATFORM =~ /mingw|mswin/
          GemfileEntry.version "duktape", nil, comment
        else
          GemfileEntry.new "mini_racer", nil, comment, { platforms: :ruby }, true
        end
      end
Register or log in to add new notes.