2016-05-27 23 views
2

私は、Mac OS 10.10.5ヨセミテzshの:execのフォーマットエラー:RVM

zsh 5.2 (x86_64-apple-darwin14.5.0)を持って、私はちょうど新しいのを経由して私のユーザーのためにRVMをインストールしました:

\curl -sSL https://get.rvm.io | bash -s stable 

https://rvm.io/rvm/install。したがって、RVMは/Users/myuser/.rvmにあります。

export PATH="$PATH:$HOME/.rvm/bin"

は、私は私の〜/ .zshrcにこれを追加しました。

私は(私は私のシェルを再起動)

zsh: exec format error: rvm 

私はこれをデバッグする方法が分からない取得私のOH-MY-zshのシェル内rvmを実行します。そして、私はオンラインで何かを見つけることができません。私は、--autodot-filesフラグを含めてインストールをやり直そうとしました。助けてくれなかった。私はsource /Users/myuser/.rvm/scripts/rvmコマンドを実行RVM

Turning on auto dotfiles mode. 
Downloading https://github.com/rvm/rvm/archive/1.27.0.tar.gz 
Downloading https://github.com/rvm/rvm/releases/download/1.27.0/1.27.0.tar.gz.asc 
gpg: Signature made Tue Mar 29 03:49:47 2016 HST using ... 
gpg: Good signature from "Michal Papis (RVM signing) <[email protected]>" 
gpg: WARNING: This key is not certified with a trusted signature! 
gpg:   There is no indication that the signature belongs to the owner. 
Primary key fingerprint: ... 
    Subkey fingerprint: ... 
GPG verified '/Users/myuser/.rvm/archives/rvm-1.27.0.tgz' 

Installing RVM to /Users/myuser/.rvm/ 
    Removing rvm PATH line from /Users/myuser/.mkshrc /Users/myuser/.profile /Users/myuser/.bashrc /Users/myuser/.zshrc. 
    Adding rvm PATH line to /Users/myuser/.profile /Users/myuser/.mkshrc /Users/myuser/.bashrc /Users/myuser/.zshrc. 
    Removing rvm loading line from /Users/myuser/.profile /Users/myuser/.bash_profile /Users/myuser/.zshrc /Users/myuser/.zlogin. 
    Adding rvm loading line to /Users/myuser/.profile /Users/myuser/.bash_profile /Users/myuser/.zlogin. 
Installation of RVM in /Users/myuser/.rvm/ is almost complete: 

    * To start using RVM you need to run `source /Users/myuser/.rvm/scripts/rvm` 
    in all your open shell windows, in rare cases you need to reopen all shell windows. 

# hjelmeir, 
# 
# Thank you for using RVM! 
# We sincerely hope that RVM helps to make your life easier and more enjoyable!!! 
# 
# ~Wayne, Michal & team. 

./scripts/notes: line 12: rvm_warn: command not found 
./scripts/notes: line 133: __rvm_sed: command not found 
./scripts/notes: line 36: rvm_error: command not found 
./scripts/notes: line 220: __rvm_get_user_shell: command not found 
./scripts/notes: line 254: __rvm_grep: command not found 
./scripts/notes: line 255: __rvm_grep: command not found 

の設置

結果は、その結果として、EXECフォーマットエラーでrvmを試みました。

ADDITION:

file ~/.rvm/bin/rvm 
/Users/myuser/.rvm/bin/rvm: empty 
+0

私は決してこれを理解していないので、システムをきれいに拭いて新鮮なものにしなければなりませんでした。 – hjelmeir

答えて

0

私はきれいな私のシステムを拭き、新鮮な起動しなければならなかったので、この1つは本当の答えを持っていません。しかし、私はそれを働かせて、私はrbenvを使い始めました。

関連する問題