Sha256: d1639038fb49419885217068db5aeda315e20d3144e636ac46ddc1b69921a51e

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

until File.exist?('Gemfile')
  Dir.chdir('..')

  at_root = Dir.getwd == File.dirname(Dir.getwd)
  if at_root
    puts "Must be run in a rails project"
    exit
  end
end

require './config/environment'
# require File.expand_path('./config/environment')
require 'lazy_migrate'

LazyMigrate.run

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lazy_migrate-0.1.5 bin/exe/lazy_migrate