apache / apache/whimsy

Problems running setupmymac on my mac

Open
#223 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
125
Forks
100
PR merge metrics
No merged PRs in 30d

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 `'
```

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`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.