dashing-icinga2: undefined method `mappings' for Tilt:Module
I’ve installed dashing-icinga2 today, on an ubuntu 16.04 openvz I’ve followed install instructions, but when I try to open the dashboard I get this sinatra error page:
NoMethodError at /icinga2 undefined method `mappings’ for Tilt:Module file: dashing.rb location: tilt_html_engines line: 151
Previously I’ve installed this on a RedHat 7 machine without issues, so I don’t know if is an ubuntu issue (and sadly I don’t have access to the rh7 machine anymore)
-
Dashing version (
gem list --local dashing
): dashing (1.3.2) -
Ruby version (
ruby -V
): ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] -
Version of this project (tarball name, tag name or
git show -1
): commit ccb6e03e311144db91e7836f63680c56e7e53b7b Merge: 14bc597 c800bfd Author: Michael Friedrich michael.friedrich@icinga.com Date: Fri Oct 6 11:15:28 2017 +0200Merge pull request #45 from Icinga/feature/simplemon-green-if-zero
Render Undhandled Problems green if count is zero
-
Modifications to this project, if any (
git diff
): -
Operating System and version: Ubuntu 16.04 Linux watcher 2.6.32-042stab117.14 #1 SMP Tue Aug 30 17:12:57 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux
-
Client browser and version: Chrome 61
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 21 (2 by maintainers)
As said, I think that bundler evaluates all dependencies and comes to the conclusion that the lowest version satisfies the needs. I don’t know all the Ruby internals and package handling, especially not with bundler. Just a guess from that current problem.
The changes in smashing compared to current dashing master are nearly zero, except for tests and docs. The hassle with upgrading and renaming is way too much imho, unless there are real improvements, such as full Windows support.
Btw - dashing is a common name you’ll reference with a dashboard. smashing - I would not relate this to a dashboard if I were new. Going the route of leaving the project name intact, but requiring smashing for dashing - I will not take the effort to answer all community questions on that.
TL;DR - I think dashing works quite well in its current form. It definitely is not something one can maintain without some programming knowledge, even if it looks super easy. The entry of creating your own dashboards is super hard. Which is why I wrote development docs.