11:55:48 web.1 | 2017-01-19 11:55:48 - Errno::ENOENT - No such file or directory @ rb_sysopen - /Users/mzagaja/Developer/youth_match/apps/views/runs/index.haml:
We would expect it to load the file in /Users/mzagaja/Developer/youth_match/views/runs/index.haml which would be the default behavior for Sinatra, so we need to ascertain why it is looking in the app sub-directory for the views directory and then fix the routing.
This is likely due to the fact that it defers to apps/runs.rb for routing instead of using app.rb, so we will need to figure out the correct syntax to refer to the path.
When attempting to load http://lvh.me:5000/runs I get the following error:
11:55:48 web.1 | 2017-01-19 11:55:48 - Errno::ENOENT - No such file or directory @ rb_sysopen - /Users/mzagaja/Developer/youth_match/apps/views/runs/index.haml:
We would expect it to load the file in /Users/mzagaja/Developer/youth_match/views/runs/index.haml which would be the default behavior for Sinatra, so we need to ascertain why it is looking in the app sub-directory for the views directory and then fix the routing.