Skip to content

Commit

Permalink
if defined?(Rails::Railtie)
Browse files Browse the repository at this point in the history
  • Loading branch information
TSMMark committed Aug 1, 2022
1 parent 4c4679e commit 7526bf0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/redshift_simple_migrator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ def logger
require "redshift_simple_migrator/migration"
require "redshift_simple_migrator/cli"

if defined?(Rails)
require "redshift_simple_migrator/railtie"
end
require "redshift_simple_migrator/railtie" if defined?(Rails::Railtie)

0 comments on commit 7526bf0

Please sign in to comment.