]> git.openstreetmap.org Git - rails.git/blobdiff - config/boot.rb
Localisation updates from http://translatewiki.net
[rails.git] / config / boot.rb
index 0a516880cadc333d0efc41367a56a09dd0654e87..9759b93f3845b7a9f45636e979b0e85024fbd6b6 100644 (file)
@@ -44,6 +44,7 @@ module Rails
     def load_initializer
       require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
       Rails::Initializer.run(:install_gem_spec_stubs)
+      Rails::GemDependency.add_frozen_gem_path
     end
   end
 
@@ -81,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