Flowdock
method

javascript_runtime_gemfile_entry

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: AppBase
javascript_runtime_gemfile_entry() protected

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 241
      def javascript_runtime_gemfile_entry
        runtime = if defined?(JRUBY_VERSION)
          "gem 'therubyrhino'"
        else
          "# gem 'therubyracer', platforms: :ruby"
        end
                  # See https://github.com/sstephenson/execjs#readme for more supported runtimes          #{runtime}
      end
Register or log in to add new notes.