lib/generators/slf4r/logging/logging_generator.rb in slf4r-0.4.1 vs lib/generators/slf4r/logging/logging_generator.rb in slf4r-0.4.2
- old
+ new
@@ -2,8 +2,9 @@
#source_root File.expand_path('../templates', __FILE__)
def setup
source = File.expand_path('../../templates', __FILE__)
initializer "logging.rb", File.read(File.join(source, "logging.rb"))
+ gem 'slf4r', :require => 'slf4r/logging_logger'
gem "logging"
end
end