Sha256: 5a0b448ec6dac72a8184f497562b3e3f80ca8aaeb043dbdb1a4f3a0413093f6d

Contents?: true

Size: 644 Bytes

Versions: 3

Compression:

Stored size: 644 Bytes

Contents

lib_path = File.expand_path("../", __FILE__)
$:.unshift lib_path unless $:.include?(lib_path)

require "rubygems"
require "rails"
require "active_record"

require "standalone_migrations_new/configurator"
require "standalone_migrations_new/generator"
require "standalone_migrations_new/callbacks"

railtie_app_path = "#{lib_path}/standalone_migrations_new/minimal_railtie_config"
APP_PATH = File.expand_path(railtie_app_path,  __FILE__)

require "standalone_migrations_new/minimal_railtie_config"
require "standalone_migrations_new/tasks"

if !ENV["RAILS_ENV"]
  ENV["RAILS_ENV"] = ENV["DB"] || ENV["RACK_ENV"] || Rails.env || "development"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
standalone_migrations_new-7.1.2 lib/standalone_migrations_new.rb
standalone_migrations_new-7.1.1 lib/standalone_migrations_new.rb
standalone_migrations_new-7.1.0 lib/standalone_migrations_new.rb