Skip to content

Commit

Permalink
Fix guide building when Rails logging is included
Browse files Browse the repository at this point in the history
  • Loading branch information
peteryates committed Dec 10, 2023
1 parent 6c4b545 commit 5b8c0e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions guide/lib/helpers.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
require 'pry'
require 'rails'
require 'action_view'
require 'active_model'
require 'active_support/core_ext/string'
require 'htmlbeautifier'
require 'slim/erb_converter'

Rails.logger = Logger.new($stdout)

Dir.glob(File.join('./lib', '**', '*.rb')).sort.each { |f| require f }

$LOAD_PATH.unshift(File.expand_path("../../lib", "lib"))
Expand Down

0 comments on commit 5b8c0e8

Please sign in to comment.