rbenv installでの失敗
ec2 amazonlinuxでの事象
rbenv versionsで2.3.0がなかったのでrbenvとruby-biuldをpullし直した後の話
# rbenv install 2.3.0
・
・
・
99% [938/945] vm_backtrace.c
99% [939/945] vm_dump.c
99% [940/945] vm_eval.c
99% [941/945] vm_exec.c
99% [942/945] vm_insnhelper.c
99% [943/945] vm_method.c
make: *** [rdoc] Killed
これで対処してみる
# export RUBY_CONFIGURE_OPTS=--disable-install-doc
再度実行
# rbenv install 2.3.0
Downloading ruby-2.3.0.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.bz2
Installing ruby-2.3.0...
Installed ruby-2.3.0 to /usr/local/rbenv/versions/2.3.0
確認
# rbenv local 2.3.0
# ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
参考