1

最新の rubinius を rvm 配下にインストールできないようです (rvm は正常に動作しているようで、他の ruby​​ は問題なくインストールできます)。エラーログは次のとおりです。

rbx-2.2.9 - #compiling - please wait
Error running '/home/michael/.rvm/wrappers/ruby-2.1.2@rubinius/rake install --trace',
showing last 15 lines of /home/michael/.rvm/log/1403116832_rbx-2.2.9/rake.log
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/gems/rake-10.3.2/lib/rake/application.rb:150:in `invoke_task'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/gems/rake-10.3.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/gems/rake-10.3.2/lib/rake/application.rb:106:in `each'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/gems/rake-10.3.2/lib/rake/application.rb:106:in `block in top_level'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/gems/rake-10.3.2/lib/rake/application.rb:115:in `run_with_threads'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/gems/rake-10.3.2/lib/rake/application.rb:78:in `block in run'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/gems/rake-10.3.2/bin/rake:33:in `<top (required)>'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/bin/rake:23:in `load'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/bin/rake:23:in `<main>'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/bin/ruby_executable_hooks:15:in `eval'
/home/michael/.rvm/gems/ruby-2.1.2@rubinius/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => install => build:build => build:llvm

これが何であるか、誰にも分かりますか?明らかな何かが欠けていますか?私が実行しようとしているコマンドは単純です:

rvm install rbx

関連する可能性があるため、前に追加の警告行があります。

No binary rubies available for: arch/libc-2.19/x86_64/rbx-2.2.9.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.

これは、ソースからコンパイルしていると言っているようです(これは問題にはなりません)。システムはアーチ Linux です。

4

1 に答える 1

2

この github issueで merehost の助けを借りて、この質問に答えました。

問題は、rvm がフラグllvmを使用して独自のバージョンの rubinius をインストールすること--skip-systemです。このバージョンの llvm には、arch Linux のデフォルトである python3 で実行する既知の問題があります。これを回避するには、独自のコマンド ライン オプションを渡すか、次のように何も渡さないことで、このオプションをオーバーライドできます。

rvm install rubinius --

コマンド ライン オプションの使用の詳細については、こちらを参照してください。

于 2014-07-17T17:51:23.363 に答える