Method: Gem::Platform#normalized_linux_version
- Defined in:
- lib/rubygems/platform.rb
#normalized_linux_version ⇒ Object
– NOTE: Until it can be removed, changes to this method must also be reflected in bundler/lib/bundler/rubygems_ext.rb
217 218 219 220 221 222 223 224 |
# File 'lib/rubygems/platform.rb', line 217 def normalized_linux_version return nil unless @version without_gnu_nor_abi_modifiers = @version.sub(/\Agnu/, "").sub(/eabi(hf)?\Z/, "") return nil if without_gnu_nor_abi_modifiers.empty? without_gnu_nor_abi_modifiers end |