Sha256: 4dfe7a59c27ea4d3247ea4968bc64fda42e36e9d2470fdb561b131fddd8bfae3
Contents?: true
Size: 294 Bytes
Versions: 2
Compression:
Stored size: 294 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 'lazy_migrate' LazyMigrate.run
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lazy_migrate-0.3.0 | bin/exe/lazy_migrate |
lazy_migrate-0.2.0 | bin/exe/lazy_migrate |