Before I start on any larger projects, I'm working through figuring out
all the DEVELOPMENT/MACOSX instructions, and have a couple of issues.

* Can't run rake:

Macbook:calendar-demo curcuru$ rake server --trace
rake aborted!
LoadError: cannot load such file -- rspec/core/rake_task
/usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
/usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
/Users/curcuru/src/g/whimsy/www/calendar-demo/Rakefile:1:in `<top
(required)>'
...etc.

Macbook:calendar-demo curcuru$ gem which rspec
ERROR:  Can't find ruby library file or shared library rspec


* Can't get to httpd:

Macbook:whimsy curcuru$ sudo launchctl load -w
/System/Library/LaunchDaemons/org.apache.httpd.plist
Password:
/System/Library/LaunchDaemons/org.apache.httpd.plist: service already loaded
Macbook:whimsy curcuru$ curl localhost
curl: (7) Failed to connect to localhost port 80: Connection refused
Macbook:whimsy curcuru$ curl localhost:8080
curl: (7) Failed to connect to localhost port 8080: Connection refused
Macbook:whimsy curcuru$ curl 127.0.0.1
curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused

Macbook:whimsy curcuru$ atom /etc/apache2/httpd.conf
Macbook:whimsy curcuru$ atom /etc/hosts
(Triple checked the setup is done as in MACOSX.md, which made sense)

Macbook:whimsy curcuru$ sudo apachectl restart
Password:
Macbook:whimsy curcuru$ curl 127.0.0.1:80
curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused
Macbook:whimsy curcuru$ curl whimsy.local
curl: (7) Failed to connect to whimsy.local port 80: Connection refused

Are there firewall, networking, or other settings I need to change?

OSX 10.11.6, Firewall is on, but "Block all incoming connections" is not
checked.  My default /private/var/log/apache2/ directory is empty.

- Shane

Reply via email to