instance method gem_ruby_version

Ruby on Rails 7.2.3

Since v7.2.3 Last seen in v7.2.3 Private — implementation detail, not part of the public API

Signature

gem_ruby_version()

No documentation comment.

Source
# File railties/lib/rails/generators/base.rb, line 427
        def gem_ruby_version
          Gem::Version.new(Gem::VERSION) >= Gem::Version.new("3.3.13") ? Gem.ruby_version : RUBY_VERSION
        end

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

Defined in Rails::Generators::Base

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close