method

gem_version

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: Rails::GemBoot
gem_version() public

No documentation

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

Hide source
# File railties/environments/boot.rb, line 73
      def gem_version
        if defined? RAILS_GEM_VERSION
          RAILS_GEM_VERSION
        elsif ENV.include?('RAILS_GEM_VERSION')
          ENV['RAILS_GEM_VERSION']
        else
          parse_gem_version(read_environment_rb)
        end
      end
Register or log in to add new notes.