14
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

rbenvで新しいバージョンのインストールに失敗した時の対処

Posted at

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]

参考

14
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?