asdf-ruby | Ruby plugin for asdf version manager | Plugin library

 by   asdf-vm Shell Version: Current License: MIT

kandi X-RAY | asdf-ruby Summary

kandi X-RAY | asdf-ruby Summary

asdf-ruby is a Shell library typically used in Plugin applications. asdf-ruby has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Ruby plugin for asdf version manager
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              asdf-ruby has a low active ecosystem.
              It has 536 star(s) with 117 fork(s). There are 16 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 39 open issues and 141 have been closed. On average issues are closed in 255 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of asdf-ruby is current.

            kandi-Quality Quality

              asdf-ruby has 0 bugs and 0 code smells.

            kandi-Security Security

              asdf-ruby has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              asdf-ruby code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              asdf-ruby is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              asdf-ruby releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of asdf-ruby
            Get all kandi verified functions for this library.

            asdf-ruby Key Features

            No Key Features are available at this moment for asdf-ruby.

            asdf-ruby Examples and Code Snippets

            No Code Snippets are available at this moment for asdf-ruby.

            Community Discussions

            QUESTION

            Only one version of Ruby works when multiple versions are installed
            Asked 2020-Feb-15 at 17:01

            Edit 1: Another person reported similar issue with asdf.

            Edit 2: Another reported similar issue.

            Edit 3: I uninstalled rvm, installed rvm, installed ruby and rails, and attempted some activities.

            Edit 4: Another person mentioned that it's caused by the line I put into .zshrc (or .bash_profile/.bashrc): RUBYOPT: "-W:no-deprecated -W:no-experimental".

            Problem: I have two projects, one using ruby-2.7.0, the other using ruby-2.6.5.

            Every time I installed over two versions of ruby, only one version ends up working (2.7.0). The bundle as well as gem commands on the other will no longer work but give a Traceback....(RuntimeError).

            Most Recent Attempt and Console Outputs: Console output flow is roughly:

            1. Uninstall rvm
            2. Install rvm
            3. Install ruby-2.7.0
            4. Install ruby-2.6.5
            5. For ruby-2.7.0, install rails
            6. For ruby-2.6.5, install rails
            7. Everything working alright so far
            8. Append export PATH="$PATH:$HOME/.rvm/bin" to ~/.zshrc
            9. Still working alright
            10. Did echo "export RUBYOPT='-W:no-deprecated -W:no-experimental'" >> ~/.zshrc; source ~/.zshrc
            11. Started noticing the problem again
            12. ruby-2.6.5 does not work; ruby-2.7.0 still works
            ...

            ANSWER

            Answered 2020-Feb-15 at 17:01

            I had the exact same issue, except using rbenv with bash.

            The perpetrator seems to be the echo "export RUBYOPT='-W:no-deprecated -W:no-experimental'" line in your .zsh file, I'm not sure if Ruby 2.6.5 understands it.

            Remove echo "export RUBYOPT='-W:no-deprecated -W:no-experimental'" from your .zsh / .bashrc / .profile and restart your shell.

            Source https://stackoverflow.com/questions/59851061

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install asdf-ruby

            Please make sure you have the required system dependencies installed before trying to install Ruby.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/asdf-vm/asdf-ruby.git

          • CLI

            gh repo clone asdf-vm/asdf-ruby

          • sshUrl

            git@github.com:asdf-vm/asdf-ruby.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link