I am unable to install RoR on a VPS running RedHat Linux with 512 MB.
I run “make” and “make install” I get the following output/error below.
What can I do to resolve this memory problem?
It appears I should have sufficient memory to install. I included the
results of “make” and “free” to show the failure as well as the
Thanks in advance!
[email protected] [~/ruby-1.9.3-p0]# make
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses
-Wno-long-long -Wno-missing-field-initializers -Wpointer-arith
XCFLAGS = -include ruby/config.h -include ruby/missing.h
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
cc1: out of memory allocating 1904232 bytes after a total of 32403456
make: *** [parse.o] Error 1
[email protected] [~/ruby-1.9.3-p0]# free
total used free shared buffers
Mem: 524288 368436 155852 0 0
-/+ buffers/cache: 368436 155852
Swap: 0 0 0