Hi fellows!
I want to use the Rails.logger in my gem. I try the following code in my main gem-file.
require 'rails/logger' puts "init1" ::Rails.logger.info("hi") puts "init2"
The funny thing is: It even don't give me the output of puts in the stdout of the server! But if I remove the call to Rails.logger the puts are displayed in the stdout of the server again.
But in both cases nothing is written in the development.log
Greetings from Germany, Klaus