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

Problem with installing ruby #4868

Open
dharamgollapudi opened this issue Feb 4, 2020 · 1 comment
Open

Problem with installing ruby #4868

dharamgollapudi opened this issue Feb 4, 2020 · 1 comment

Comments

@dharamgollapudi
Copy link

Description

When I am trying install a ruby (any version), I am seeing the following error half way through:

rvm install 2.4.9                                                                                                                                        
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.15/x86_64/ruby-2.4.9.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/John.Doe@example.com/.rvm/rubies/ruby-2.4.9, this may take a while depending on your cpu(s)...
ruby-2.4.9 - #downloading ruby-2.4.9, this may take a while depending on your connection...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11.9M  100 11.9M    0     0  7741k      0  0:00:01  0:00:01 --:--:-- 7736k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.4.9 - #extracting ruby-2.4.9 to /Users/John.Doe@example.com/.rvm/src/ruby-2.4.9 - please wait
ruby-2.4.9 - #configuring - please wait
ruby-2.4.9 - #post-configuration - please wait
ruby-2.4.9 - #compiling - please wait
ruby-2.4.9 - #installing - please wait
ruby-2.4.9 - #making binaries executable - please wait
ruby-2.4.9 - #downloading rubygems-3.0.6
ruby-2.4.9 - #extracting rubygems-3.0.6 - please wait
ruby-2.4.9 - #removing old rubygems - please wait
ruby-2.4.9 - #installing rubygems-3.0.6 - please wait
mkdir: /Users/John.Doe@global/bin: Permission denied

I think the issue is with my account name (there by home directory) being John.Doe@example.com which contains @ that is conflicting with the gemset use of @ symbol. Unfortunately, as this is not a personal computer, I do not have control on having the account name (there by home directory) changed to something that doesn't include @ symbol.

Steps to reproduce

OS: macOS Catalina 10.15.3
Upon successful install of rvm
run rvm install 2.4.9

Expected behavior

Install the specified ruby successfully.

Actual behavior

Unable to install the specified ruby successfully.

Environment info

system:

  system:
    uname:        "Darwin USC02ZR0FGMD6R 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64"
    name:         "OSX"
    version:      "10.15"
    architecture: "x86_64"
    bash:         "/bin/bash => GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)"
    zsh:          "/bin/zsh => zsh 5.7.1 (x86_64-apple-darwin19.0)"
    remote_path:  "osx/10.15/x86_64"
    xcode:        "11.3.1"

  rvm:
    version:      "1.29.9-next (master)"
    updated:      "9 minutes 18 seconds ago"
    path:         "/Users/John.Doe@example.com/.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:          "/usr/bin/gem"
    rake:         "/usr/bin/rake"

  environment:
    PATH:         "/Users/John.Doe@example.com/Bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/John.Doe@example.com/.rvm/bin"
    GEM_HOME:     ""
    GEM_PATH:     ""
    MY_RUBY_HOME: ""
    IRBRC:        ""
    RUBYOPT:      ""
    gemset:       ""
@Evshved
Copy link

Evshved commented Jul 7, 2020

@dharamgollapudi
try to install brew install rbenv/tap/openssl@1.0

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