Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby 2.2.0 Fails during "Generating RI" #721

Closed
npazo opened this issue Feb 10, 2015 · 7 comments
Closed

Ruby 2.2.0 Fails during "Generating RI" #721

npazo opened this issue Feb 10, 2015 · 7 comments

Comments

@npazo
Copy link

npazo commented Feb 10, 2015

I suspect this is a server issue but I cannot find a solution. 2.1.5 installed just fine. And if I skip rdoc install, 2.2.0 works as well. Anyone have any ideas how to fix this issue?

Downloading ruby-2.2.0.tar.gz...                     
-> http://dqw8nmjcqpjn7.cloudfront.net/7671e394abfb5
d262fbcd3b27a71bf78737c7e9347fa21c39e58b0bb9c4840fc
Installing ruby-2.2.0...

BUILD FAILED (CentOS release 6.6 (Final) using ruby-
build 20150130-2-g8106d8f)

Inspect or clean up the working tree at /tmp/ruby-bu
ild.20150210151702.4709
Results logged to /tmp/ruby-build.20150210151702.470
9.log

Last 10 log lines:
 99% [961/967]  vm_dump.c
 99% [962/967]  vm_eval.c
 99% [963/967]  vm_exec.c
 99% [964/967]  vm_insnhelper.c
 99% [965/967]  vm_method.c
 99% [966/967]  vm_trace.c
100% [967/967]  vsnprintf.c

Generating RI format into /tmp/ruby-build.2015021015
1702.4709/ruby-2.2.0/.ext/rdoc...
make: *** [rdoc] Killed
@mislav
Copy link
Member

mislav commented Feb 11, 2015

Is it a virtual machine? Is it possible that it ran out of RAM or disk space on /tmp partition?

@npazo
Copy link
Author

npazo commented Feb 12, 2015

It is a VM. It just seems crazy that 2.2.0 is a problem and other else is. I'll look into that idea though.

@hsbt
Copy link
Member

hsbt commented Mar 18, 2015

It seems to happen OOM killer. Please increase your RAM or add "--disable-install-doc" into configuration.

@remadrivan
Copy link

I am also having this problem..
45f6f63134b0f19393d0bcf76432eefb

@hsbt hsbt closed this as completed Apr 19, 2015
@hsbt
Copy link
Member

hsbt commented Apr 19, 2015

@adrivanrex It's not related this issue. Please create new issue and attach build log.

@minimul
Copy link

minimul commented Jul 21, 2015

I had this problem on a VM that was only 512mb RAM.
CONFIGURE_OPTS="--disable-install-rdoc" rbenv install 2.2.2 enabled the install to work.

@mabras
Copy link

mabras commented Aug 15, 2015

I had this also, and I increased the memory of my VM with Vagrant which worked just fine:

config.vm.provider "virtualbox" do |v|
  v.memory = 1024
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants