-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
So I just ran setupmymac on my mac and I got errors.
$ sudo ln -s /var/log/apache2 /srv/whimsy/www/members/log
/Users/cdutz/Projects/Apache/Whimsy/whimsy/config/setupmymac:374:in `read': No such file or directory @ rb_sysopen - /etc/apache2/other/passenger.conf (Errno::ENOENT)
from /Users/cdutz/Projects/Apache/Whimsy/whimsy/config/setupmymac:374:in `<main>'
When debugging the script it seems that in my case passenger_conf doesn't exist at /etc/apache2/other/passenger.conf and therefore the script goes into the second part of the expression in:
unless File.exist?(passenger_conf) or File.read(passenger_conf) != snippet
Which then fails ... could it be that this should be an and instead of an or?
Metadata
Metadata
Assignees
Labels
No labels