Estou tentando configurar o RVM para executar no modo de usuário único no Ubuntu, mas não posso, sem abrir permissões, criar, configurar etc. Alguma sugestão?
RVM instalado via bash < < (curl -s link ), todos os extras do repositório apt mencionados são instalados
[testuser@vm2:~] $ rvm install 1.9.2Installing Ruby from source to: /home/testuser/.rvm/rubies/ruby-1.9.2-p290, this may take a while depending on your cpu(s)...
ruby-1.9.2-p290 - #fetching
ruby-1.9.2-p290 - #extracted to /home/testuser/.rvm/src/ruby-1.9.2-p290 (already extracted)
Fetching yaml-0.1.4.tar.gz to /home/testuser/.rvm/archives
md5sum: : No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 460k 100 460k 0 0 479k 0 --:--:-- --:--:-- --:--:-- 706k
Extracting yaml-0.1.4.tar.gz to /home/testuser/.rvm/src
Configuring yaml in /home/testuser/.rvm/src/yaml-0.1.4.
ERROR: Error running ' ./configure --prefix="/home/testuser/.rvm/usr" ', please read /home/testuser/.rvm/log/ruby-1.9.2-p290/yaml/configure.log
Compiling yaml in /home/testuser/.rvm/src/yaml-0.1.4.
ERROR: Error running '/usr/bin/make ', please read /home/testuser/.rvm/log/ruby-1.9.2-p290/yaml/make.log
Installing yaml to /home/testuser/.rvm/usr
ERROR: Error running '/usr/bin/make install', please read /home/testuser/.rvm/log/ruby-1.9.2-p290/yaml/make.install.log
ruby-1.9.2-p290 - #configuring
ERROR: Error running ' ./configure --prefix=/home/testuser/.rvm/rubies/ruby-1.9.2-p290 --enable-shared --disable-install-doc --with-libyaml-dir=/home/testuser/.rvm/usr ', please read /home/testuser/.rvm/log/ruby-1.9.2-p290/configure.log
ERROR: There has been an error while running configure. Halting the installation.
Por isso, verifiquei o configure:
[2011-09-02 12:52:26] ./configure --prefix="/home/testuser/.rvm/usr"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in '/home/testuser/.rvm/src/yaml-0.1.4':
configure: error: no acceptable C compiler found in $PATH
See 'config.log' for more details
Sem permissão para cc:
[testuser@vm2:~] $ cc
-bash: /usr/bin/cc: Permission denied
[testuser@vm2:~] $ gcc
-bash: /usr/bin/gcc: Permission denied
Posso rodar como sudo? Não:
[testuser@vm2:~] $ sudo cc
cc: no input files
[testuser@vm2:~] $ sudo rvm install 1.9.2
sudo: rvm: command not found