Skip to content

Problems running setupmymac on my mac #223

@chrisdutz

Description

@chrisdutz

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions