NameError: uninitialized constant due class creation dependend on loaded gems

`NameError: uninitialized constant ActionView::CompiledTemplates::GithubIssuesTracker` is raised in `app/views/problems/_issue_tracker_links.html.haml:14` if the Github issue tracking is commented out in Gemfile (gem octokit).