System.base_url will be ignored+example

my wagn.rb:

#System.base_url = "http://localhost:3000/"

System.max_renders = 8

 

ExceptionNotifier.exception_recipients = ['webmaster@indarium.de']

ExceptionNotifier.sender_address       = '"Wiki Error" <mailto:webmaster@indarium.de>'

ExceptionNotifier.email_prefix         = "[Wiki]"

 

ActionMailer::Base.smtp_settings = {

  :address => "mail.goodfellow.info",

  :domain => "company.de",

  :port => 25,

  :authentication => :login,

  :enable_starttls_auto => true,

  :user_name => "YYYYYYYYYYYYYYY",

  :password => "XXXXXXXXXXXXXXXXX",

  :tls => true

}

one of the added envs:
# Settings specified here will take precedence over those in config/environment.rb

# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
config.cache_classes = true

# Use a different logger for distributed setups
# config.logger = SyslogLogger.new

# Full error reports are disabled and caching is turned on
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching             = true

config.log_level = :info

# Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host                  = "http://assets.example.com"

# Disable delivery errors if you bad email addresses should just be ignored
config.action_mailer.raise_delivery_errors = true
                                                      
ENV['RAILS_ASSET_ID']=""

System.base_url = "http://wiki.company.de/"

ExceptionNotifier.exception_recipients = ['webmaster@company.de']
ExceptionNotifier.sender_address       = '"company Wiki Error" <mailto:webmaster@company.de>'
ExceptionNotifier.email_prefix         = "[company Wiki]"