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 4a5c23c
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 4a5c23c

Please sign in to comment.