lib/shoelace/rails.rb in shoelace-rails-0.1.0 vs lib/shoelace/rails.rb in shoelace-rails-0.2.0
- old
+ new
@@ -1,8 +1,12 @@
# frozen_string_literal: true
require_relative "rails/version"
-require_relative "engine" if defined?(::Rails::Railtie)
+
+if defined?(::Rails::Railtie)
+ require_relative "engine"
+ require_relative "railtie"
+end
module Shoelace
module Rails
class Error < StandardError; end
end