X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f3e23f6eb2bd571a39486773f0f10d65a2398a1..403121334af3140667709e25fdb8fd6fbac53735:/config/boot.rb diff --git a/config/boot.rb b/config/boot.rb index 0ad0f787f..9759b93f3 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -82,8 +82,8 @@ module Rails end def load_rubygems - require 'rubygems' min_version = '1.3.1' + require 'rubygems' unless rubygems_version >= min_version $stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.) exit 1