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 Jan 28, 2024
1 parent 8d27380 commit ada058f
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 ada058f

Please sign in to comment.