Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create default alias #4754

Open
dymv opened this issue Aug 13, 2019 · 1 comment
Open

Unable to create default alias #4754

dymv opened this issue Aug 13, 2019 · 1 comment

Comments

@dymv
Copy link

dymv commented Aug 13, 2019

Description

Steps to reproduce

  1. Install fresh rvm from master
  2. Get a stable ruby, 2.6.3 at the moment
  3. Try to make the ruby version default by rvm alias create default 2.6.3

Expected behavior

I am able to make that ruby version the default one.

Actual behavior

I'm getting a bunch of errors regarding not being able to find these commands:

$ rvm alias create default 2.6.3
/Users/dymv/.rvm/scripts/functions/support: line 516: cat: command not found
/Users/dymv/.rvm/scripts/functions/support: line 277: date: command not found
/Users/dymv/.rvm/scripts/functions/support: line 277: awk: command not found
/Users/dymv/.rvm/scripts/functions/utility_logging: line 96: mkdir: command not found
/Users/dymv/.rvm/scripts/functions/utility_logging: line 97: rm: command not found
/Users/dymv/.rvm/scripts/functions/utility_logging: line 99: tee: command not found
/Users/dymv/.rvm/scripts/functions/logging: line 226: cat: command not found
/Users/dymv/.rvm/scripts/functions/support: line 277: date: command not found
Creating alias default for ruby-2.6.3Error running 'alias_create_execute',
please read /Users/dymv/.rvm/log/_ruby-2.6.3/alias_create.log

Moreover, that log file does not exist:

$ cat /Users/dymv/.rvm/log/_ruby-2.6.3/alias_create.log
cat: /Users/dymv/.rvm/log/_ruby-2.6.3/alias_create.log: No such file or directory

Environment info

$ rvm info

system:

  system:
    uname:        "Darwin dymv-mbp 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019; root:xnu-4903.270.47~4/RELEASE_X86_64 x86_64"
    name:         "OSX"
    version:      "10.14"
    architecture: "x86_64"
    bash:         "/usr/local/bin/bash => GNU bash, version 5.0.7(1)-release (x86_64-apple-darwin18.5.0)"
    zsh:          "/bin/zsh => zsh 5.3 (x86_64-apple-darwin18.0)"
    remote_path:  "osx/10.14/x86_64"
    xcode:        "10.2.1"

  rvm:
    version:      "1.29.9-next (master)"
    updated:      "2 minutes 25 seconds ago"
    path:         "/Users/dymv/.rvm"
    autolibs:     "[4] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X)."

  homes:
    gem:          "not set"
    ruby:         "not set"

  binaries:
    ruby:         "/usr/bin/ruby"
    irb:          "/usr/bin/irb"
    gem:          "gem"
    rake:         "/usr/bin/rake"

  environment:
    PATH:         "/Users/dymv/.rvm/bin:/Users/dymv/.pyenv/bin:/Users/dymv/.fastlane/bin:/Users/dymv/dev/tools/shell-utils:/usr/local/opt/go/libexec/bin:/Users/dymv/dev/oss/flutter/bin:/Users/dymv/Library/Python/2.7/bin:/Users/dymv/bin:/Users/dymv/.rvm/bin:/Users/dymv/.pyenv/bin:/Users/dymv/.fastlane/bin:/Users/dymv/dev/tools/shell-utils:/usr/local/opt/go/libexec/bin:/Users/dymv/dev/oss/flutter/bin:/Users/dymv/Library/Python/2.7/bin:/Users/dymv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/dymv/dev/tools/connectiq-sdk-mac-3.0.7-2018-12-17-efeb3e3/bin:/usr/local/opt/fzf/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/Users/dymv/dev/tools/connectiq-sdk-mac-3.0.7-2018-12-17-efeb3e3/bin"
    GEM_HOME:     ""
    GEM_PATH:     ""
    MY_RUBY_HOME: ""
    IRBRC:        ""
    RUBYOPT:      ""
    gemset:       ""

@mathela59
Copy link

Same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants