Giter VIP home page Giter VIP logo

Comments (2)

kdabir avatar kdabir commented on August 25, 2024

Good point. Thanks for adding the issue. Regarding rvm, it's already there in ruby_dev profile but it's not in the frontend_dev group.

That said, I wanted to add nvm as well as gvm (groovy env manager for groovy_dev profile) earlier but then I gave up because of a small problem. These commands are actually shell functions, so one way to check them would be type nvm > /dev/null 2>&1. Other ways include doing which or declare etc. But these doesn't work for dq because these functions are not visible in the new shell in which the dq script is executing by curl something... | sh. So far I could not find a reliable way to test it. Contributions/Suggestions welcome. Surprisingly rvm also being a function still works in the new shell.

One option is to source dq instead of running it as shell script. but this does not appear to be very clean.

Another thing is version managers, though are good to have, are never a must have or never a minimum requirement to run an application. The idea is, mostly applications would depend on a library/binary/command being installed but not its version manager. So I kind put the whole idea of checking *vm on hold, at least until the first problem is solved.

That said, I am keeping the issue open and hope some day someone comes with an idea of how to fix it.

from has.

dexterous avatar dexterous commented on August 25, 2024

You should be able to get declare if you just do curl something... | bash. It looks like the default sh in your environment isn't bash. Although, that does tie you to bash...

from has.

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.