GithubHelp home page GithubHelp logo

Comments (3)

dnsmichi avatar dnsmichi commented on June 18, 2024

CentOS no longer having an update ruby vesion in the general repositories.

Not sure why you would need to update the Ruby version. The Vagrant boxes use CentOS 7 as base, and Dashing runs inside like a charm. Without any SCL packages.

scheduler caught exception:
401 Unauthorized

The error is that the provided API credentials are wrong, you can modify such in the configuration file for dashing-icinga2.

/usr/bin/env: ruby: No such file or directory

Maybe Systemd needs more specific environment variables being set, when you change from native ruby to SCL.

from dashing-icinga2.

pauby avatar pauby commented on June 18, 2024

Not sure why you would need to update the Ruby version. The Vagrant boxes use CentOS 7 as base, and Dashing runs inside like a charm. Without any SCL packages.

The verion of Ruby that was installed out of the box is 2.0.0. When I went to run the bundle step:

cd /usr/share/dashing-icinga2
bundle

I got an error that bundle required a minimum of Ruby 2.3.0. That's why I went to update, found out 2.0.0 was way out of date and searched for how to update it and came across SCL.

The error is that the provided API credentials are wrong, you can modify such in the configuration file for dashing-icinga2.

Hmmm. The credentials I made sure matched. I'll take a look.

Maybe Systemd needs more specific environment variables being set, when you change from native ruby to SCL.

That's where my knowledge will therefore stop, sadly 😢 SCL, from my limited understanding, is supposed to be a replacement for the native Ruby so all the environment variables and config should be updated by it.

from dashing-icinga2.

dnsmichi avatar dnsmichi commented on June 18, 2024

The Vagrant boxes have EPEL enabled by default and then install bundler via packages. This is abstracted in this Puppet profile: https://github.com/Icinga/icinga-vagrant/blob/master/.puppet/modules/profiles/manifests/dashing/icinga2.pp

When you're going the gem install bundler route, I could imagine that bundler doesn't like the old Ruby version. Still, with the packaged variant, without updating bundler when asking from its run, it should work. Otherwise the Vagrant runs would fail.

from dashing-icinga2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.