aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/generators/rails/app/templates/config/boot.rb
blob: 29c9d506e5935f9081ecfadbdb3be67a43757140 (plain) (tree)
1
2
3
4
5
                         
     
                                                                 
                
                    










                                                                   
   
# Use Bundler (preferred)
begin
  require File.expand_path('../../.bundle/environment', __FILE__)
rescue LoadError
  require 'rubygems'
  require 'bundler'
  Bundler.setup

  # To use 2.x style vendor/rails and RubyGems
  #
  # vendor_rails = File.expand_path('../../vendor/rails', __FILE__)
  # if File.exist?(vendor_rails)
  #   Dir["#{vendor_rails}/*/lib"].each { |path| $:.unshift(path) }
  # end
  #
  # require 'rubygems'
end