Sha256: 11852671c5d17dde2f811c5ed9dfa778d1460fe9ee6f55dbc7589e06386ccfe9

Contents?: true

Size: 578 Bytes

Versions: 11

Compression:

Stored size: 578 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"

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

11 entries across 11 versions & 1 rubygems

Version Path
standalone_migrations-2.1.4 lib/standalone_migrations.rb
standalone_migrations-2.1.3 lib/standalone_migrations.rb
standalone_migrations-2.1.1 lib/standalone_migrations.rb
standalone_migrations-2.1.0 lib/standalone_migrations.rb
standalone_migrations-2.0.6 lib/standalone_migrations.rb
standalone_migrations-2.0.5 lib/standalone_migrations.rb
standalone_migrations-2.0.4 lib/standalone_migrations.rb
standalone_migrations-2.0.3 lib/standalone_migrations.rb
standalone_migrations-2.0.2 lib/standalone_migrations.rb
standalone_migrations-2.0.1 lib/standalone_migrations.rb
standalone_migrations-2.0.0 lib/standalone_migrations.rb