I followed 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 on a shared server dreamhost, but I ran into an error that they don’t mention. When installing rvm, it cannot set requirements without root access, which I don’t have. It lists the following requirements:
libreadline6-dev, libyaml-dev, automake, libtool, libffi-dev
If I install autolibs to ignore this by installing the following
rvm autolibs 1
and run:
rvm install ruby-1.9.3
then it reaches the compilation stage 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 how I can get around this? I have been trying for several days.
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....
source share