BytemarkHosting / symbiosis

A hosting environment that works with you, not against you.
GNU General Public License v2.0
21 stars 14 forks source link

'Method redefined' and 'variable not initialized' warnings returned from symbiosis-httpd-configure when '--verbose' flag used #122

Open andrewladlow opened 6 years ago

andrewladlow commented 6 years ago

Running symbiosis-httpd-configure with the --verbose flag appended, e.g symbiosis-httpd-configure -vdf, returns the following:

root@symbiosis2:/etc/exim4# symbiosis-httpd-configure -vdf
/usr/lib/ruby/vendor_ruby/diffy/diff.rb:43: warning: method redefined; discarding old diff
Domain: symbiosis2.default.aladlow.uk0.bigv.io
    Current SSL set 6: signed by /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3, expires 2018-09-07 22:00:16 UTC
    This site has SSL enabled, and is using the host's primary IPs -- continuing with SNI.
    SSL is enabled -- using SSL template
    Adding to configurations
Configuration: example.site.net.conf
    Forcing re-creation of configuration due to --force.
/usr/lib/ruby/vendor_ruby/diffy/diff.rb:70: warning: instance variable @tempfiles not initialized
    Syntax OK

Notably: /usr/lib/ruby/vendor_ruby/diffy/diff.rb:43: warning: method redefined; discarding old diff /usr/lib/ruby/vendor_ruby/diffy/diff.rb:70: warning: instance variable @tempfiles not initialized

These probably shouldn't be displayed as standard.