Giter Club home page Giter Club logo

Comments (4)

eriweb avatar eriweb commented on June 24, 2024

Why not use '/usr/bin/env ruby'?

from oms-agent-for-linux.

jeffaco avatar jeffaco commented on June 24, 2024

Part of the issue is that we require Ruby 2.2.0 for a variety of reasons, and I'm not aware of any systems today that ship a version of Ruby v2.2.0 by default.

We'll have full instructions posted here shortly for how to build from source, and that will include a few different mechanisms for how to set up the version of Ruby that we need.

from oms-agent-for-linux.

michaelschulz avatar michaelschulz commented on June 24, 2024

By convention, the binary that ships with the system would be in /usr/bin, /usr/local/bin would be used for non system distribution binaries. So if we need a different version, then it would make sense to leave it as is. Using /usr/bin/env would use the first ruby that would be found in $PATH but the user may have multiple versions installed.
Are we locked on 2.2.0 or 2.2.x? Latest release is 2.2.3.

from oms-agent-for-linux.

jeffaco avatar jeffaco commented on June 24, 2024

We are locked into 2.2.0, as that's what we test with. Other versions may work, but won't be supported.

In the end, when we include build instructions, there may be some slight changes to some of the code to facilitate open-source building. For now, I'd suggest holding off until we update for open source, which should hopefully be in a week or less. The basics are all here, but things like path may change, and we'll make minor changes to the sources here to facilitate that.

from oms-agent-for-linux.

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.