没有适用于osx

时间:2018-11-10 16:16:26

标签: ruby macos rvm macos-mojave

我尝试通过rvm安装ruby版本,但安装失败并出现以下错误

> ruby-2.4.5 - #making binaries executable.
> Error running '__rvm_set_executable /Users/username/.rvm/rubies/ruby-2.4.5/bin/*',
  please read /Users/username/.rvm/log/1541865833_ruby-2.4.5/chmod.bin.log

在阅读之前,我读过一个笔记

> No binary rubies available for: osx/10.14/x86_64/ruby-2.4.5.

我在Google上搜索了很多以找到解决方案,许多帖子提到Xcode可能有问题,但我安装了它,但问题仍然存在

我有MacOS Mojave,版本10.14.1

在下面登录

current path: /Users/user/.rvm/src/ruby-2.4.5
GEM_HOME=/Users/user/.rvm/gems/ruby-2.4.1
PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/Users/user/Library/Python/3.7/bin:/Library/Frameworks/Python.framework/Versions/3.7/lib/python/site-packages:/Users/user/.rvm/gems/ruby-2.4.1/bin:/Users/user/.rvm/gems/ruby-2.4.1@global/bin:/Users/user/.rvm/rubies/ruby-2.4.1/bin:/Users/user/.nvm/versions/node/v10.9.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Postgres.app/Contents/Versions/latest/bin:/Users/user/.rvm/bin
GEM_PATH=/Users/user/.rvm/gems/ruby-2.4.1:/Users/user/.rvm/gems/ruby-2.4.1@global
command(2): __rvm_set_executable /Users/user/.rvm/rubies/ruby-2.4.5/bin/*
++ for __file in '"$@"'
++ [[ -x /Users/user/.rvm/rubies/ruby-2.4.5/bin/* ]]
++ chmod +x '/Users/user/.rvm/rubies/ruby-2.4.5/bin/*'
chmod: /Users/user/.rvm/rubies/ruby-2.4.5/bin/*: No such file or directory

0 个答案:

没有答案