Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Problems running setupmymac on my mac

Open
#223 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
ruby
Domain
tooling

Research direction

Start with config/setupmymac around line 374 and reproduce the missing /etc/apache2/other/passenger.conf case on macOS. Check the condition's behavior when the file is absent, then run the setup script or its available tests; done means setupmymac handles that case without the rb_sysopen error and preserves the intended Passenger configuration behavior.

Written by the indexing model from the issue text.

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?

Dominant language
Ruby
Stars
126
Forks
101
Avg merge
4h 37m
Merged PRs (30d)
3

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/whimsy

All issues in apache/whimsy

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.