Sha256: b4b8c8eb099b5c1bcd1d94087094356dd11e3a1344479d2bdf95797fb25f5ced

Contents?: true

Size: 620 Bytes

Versions: 27

Compression:

Stored size: 620 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/configurator"
require "standalone_migrations/generator"
require "standalone_migrations/callbacks"

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

require "standalone_migrations/minimal_railtie_config"
require "standalone_migrations/tasks"

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

Version data entries

27 entries across 27 versions & 4 rubygems

Version Path
standalone_migrations-4.0.4 lib/standalone_migrations.rb
standalone_migrations-4.0.3 lib/standalone_migrations.rb
standalone_migrations-4.0.2 lib/standalone_migrations.rb
standalone_migrations-4.0.1 lib/standalone_migrations.rb
standalone_migrations-4.0.0 lib/standalone_migrations.rb
standalone_migrations-2.1.5 lib/standalone_migrations.rb
ejhayes_standalone_migrations-2.2.0 lib/standalone_migrations.rb