instance method javascript_runtime_gemfile_entry

Ruby on Rails 3.2.22.5

Since v3.1.12 Last seen in v3.2.22.5

Available in: v3.1.12 v3.2.22.5

Signature

javascript_runtime_gemfile_entry()

No documentation comment.

Source
# File railties/lib/rails/generators/app_base.rb, line 233
      def javascript_runtime_gemfile_entry
        if defined?(JRUBY_VERSION)
          "gem 'therubyrhino'\n"
        else
          "# gem 'therubyracer', :platforms => :ruby\n"
        end
      end

Defined in railties/lib/rails/generators/app_base.rb line 233 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Generators::AppBase

Type at least 2 characters to search.

↑↓ navigate · open · esc close