I've been following the guide here: http://spontaneousderivation.com/2012/09/30/rails-3-2-on-a-shared-dreamhost-server/ to get rails 3.2 and ruby 1.9.3 running on a dreamhost shared server but I encounter an error which they don't mention. Upon installing rvm it can't install the requirements without root access, which I don't have. It lists the following requirements:
libreadline6-dev, libyaml-dev, automake, libtool, libffi-dev
If I set autolibs to disregard this by setting the following
rvm autolibs 1
and run:
rvm install ruby-1.9.3
then it reaches the compiling step and gives this error:
Error running 'make -j8',
please read /home/USER/.rvm/log/ruby-1.9.3-p392/make.log
There has been an error while running make. Halting the installation.
Does anyone know a way I can circumvent this? I've been trying for a few days now.
This is the contents of make.log:
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -fPIC
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
DLDFLAGS = -Wl,-soname,libruby.so.1.9
SOLIBS = -lpthread -lrt -ldl -lcrypt -lm
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling array.c
compiling miniprelude.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
compiling dir.c
compiling dln_find.c
compiling enum.c
compiling enumerator.c
make: *** [enumerator.o] Killed
make: *** Waiting for unfinished jobs....