Rubinius在OSX上安装失败

时间:2018-08-13 15:33:15

标签: ruby-on-rails ruby rvm jrubyonrails rubinius

我使用Rubinius作为Rails的解释器。最终目标是使用RubiniusJruby作为Puma中的解释器,以改善多线程。

我正在尝试通过Mac OSX 10.13.6安装在rvm系统上。这似乎与无法创建本机扩展有关(尝试在rails上安装jruby时遇到类似的错误,但我无法正常工作)。我在谷歌搜索中摸索着,所以任何有用的指示都将不胜感激。

我运行rvm install rbx。在安装过程中,我首先收到警告...

No binary rubies available for: osx/10.13/x86_64/rbx-3.100.
Continuing with compilation.
Please read 'rvm help mount' to get more information on binary rubies.

安装继续,rubinius 3.100已下载,编译开始,并以...失败。

Error running '/Users/Bingo/.rvm/wrappers/ruby-2.4.1@rubinius/rake install --trace',
please read /Users/Bingo/.rvm/log/1534136195_rbx-3.100/rake.log

我深入研究了日志文件和最后一部分,它们似乎是相关的状态...

make install
install -c -m 0755 nkf.bundle /Users/Bingo/.rvm/src/rbx-3.100/build/rubinius/site/x86_64-darwin17.7.0/nkf
/Users/Bingo/.rvm/src/rbx-3.100/build/rubinius/bin/rbx -v --disable-gems --main rubysl/openssl/extconf.rb 
rubinius 3.100 (2.3.1 250dab17 2018-03-02 6.0.1) [x86_64-darwin17.7.0]
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for assert.h... yes
checking for openssl/ssl.h... yes
checking for OpenSSL_add_all_digests() in -lcrypto... no
checking for OpenSSL_add_all_digests() in -llibeay32... no
rake aborted!
Command failed with status (1): [/Users/Bingo/.rvm/src/rbx-3.100/build/rubi...]
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/file_utils.rb:66:in `block in create_shell_runner'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/file_utils.rb:56:in `sh'
/Users/Bingo/.rvm/src/rbx-3.100/rakelib/core.rake:131:in `block in build_extension'
/Users/Bingo/.rvm/src/rbx-3.100/rakelib/core.rake:120:in `chdir'
/Users/Bingo/.rvm/src/rbx-3.100/rakelib/core.rake:120:in `build_extension'
/Users/Bingo/.rvm/src/rbx-3.100/rakelib/core.rake:200:in `block (3 levels) in <top (required)>'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/file_list.rb:78:in `each'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/file_list.rb:78:in `each'
/Users/Bingo/.rvm/src/rbx-3.100/rakelib/core.rake:199:in `block (2 levels) in <top (required)>'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:250:in `block in execute'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:250:in `each'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:250:in `execute'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:194:in `block in invoke_with_call_chain'
/Users/Bingo/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:216:in `block in invoke_prerequisites'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:214:in `each'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:214:in `invoke_prerequisites'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:193:in `block in invoke_with_call_chain'
/Users/Bingo/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:216:in `block in invoke_prerequisites'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:214:in `each'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:214:in `invoke_prerequisites'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:193:in `block in invoke_with_call_chain'
/Users/Bingo/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:216:in `block in invoke_prerequisites'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:214:in `each'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:214:in `invoke_prerequisites'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:193:in `block in invoke_with_call_chain'
/Users/Bingo/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:187:in `invoke_with_call_chain'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/task.rb:180:in `invoke'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb:152:in `invoke_task'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb:108:in `block (2 levels) in top_level'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb:108:in `each'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb:108:in `block in top_level'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb:117:in `run_with_threads'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb:102:in `top_level'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb:80:in `block in run'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/lib/rake/application.rb:77:in `run'
/Users/Bingo/.rvm/gems/ruby-2.4.1@global/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/Users/Bingo/.rvm/gems/ruby-2.4.1@rubinius/bin/rake:23:in `load'
/Users/Bingo/.rvm/gems/ruby-2.4.1@rubinius/bin/rake:23:in `<main>'
/Users/Bingo/.rvm/gems/ruby-2.4.1@rubinius/bin/ruby_executable_hooks:15:in `eval'
/Users/Bingo/.rvm/gems/ruby-2.4.1@rubinius/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => install => build:build => core:build => codedb:extensions

0 个答案:

没有答案