aboutsummaryrefslogblamecommitdiffstats
path: root/load_paths.rb
blob: 55e2a530bd8f1cd5841cd72d05aed0116be3487e (plain) (tree)




















                                                                  
begin
  require File.expand_path('../vendor/environment', __FILE__)
rescue LoadError
  begin
    require 'rubygems'
    require 'bundler'
    Bundler.setup
  rescue LoadError
    %w(
      actionmailer
      actionpack
      activemodel
      activerecord
      activeresource
      activesupport
      railties
    ).each do |framework|
      $:.unshift File.expand_path("../#{framework}/lib", __FILE__)
    end
  end
end