我似乎无法在rvm下安装最新的rubinius(rvm似乎工作正常,其他红宝石可以安装没有问题)。错误日志如下:
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。
答案 0 :(得分:2)
我在this github issue的mereghost的帮助下回答了这个问题。
问题是rvm使用llvm
标志用它自己的--skip-system
版本安装rubinius。这个版本的llvm已经知道运行python3的问题,这是arch linux的默认设置。为了解决这个问题,您可以通过传递自己的命令行选项或者像这样传递none来覆盖此选项:
rvm install rubinius --
有关使用命令行选项的详细信息,请参阅here。