bin/steam.rb in locomotivecms_steam-1.6.0.rc1 vs bin/steam.rb in locomotivecms_steam-1.6.0
- old
+ new
@@ -66,23 +66,17 @@
end.parse!
require_relative '../lib/locomotive/steam'
require_relative '../lib/locomotive/steam/server'
-puts options.inspect
-
Locomotive::Steam.configure do |config|
config.mode = :test
config.adapter = options[:adapter]
config.serve_assets = options[:asset_path].present?
config.asset_path = options[:asset_path]
config.asset_host = options[:asset_host]
config.minify_assets = false
-end
-
-Locomotive::Common.reset
-Locomotive::Common.configure do |config|
- config.notifier = Locomotive::Common::Logger.setup(options[:log_file])
+ config.log_file = options[:log_file]
end
app = Locomotive::Steam.to_app
# Puma rack handler