diff --git a/bin/console b/bin/console index 772a56e..c8420b8 100755 --- a/bin/console +++ b/bin/console @@ -25,7 +25,7 @@ end @client = Groq::Client.new do |faraday| if debug? # Create a logger instance - logger = Logger.new(STDOUT) + logger = Logger.new($stdout) logger.level = Logger::DEBUG # Log request and response bodies diff --git a/lib/generators/groq/install_generator.rb b/lib/generators/groq/install_generator.rb index 98e4bd2..e5395b8 100644 --- a/lib/generators/groq/install_generator.rb +++ b/lib/generators/groq/install_generator.rb @@ -1,4 +1,4 @@ -require 'rails/generators/base' +require "rails/generators/base" module Groq module Generators