Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Jason Ellis's Profile

GitHub User: palamedes

Site: http://rsow.com

Comments by Jason Ellis

Avatar

The VPS I'm using is Media Template. Apparently they mount /tmp with noexec.. To resolve this;

Shell Commands
umount /tmp;
su deployer
mkdir ~/tmp
exit
mount --bind ~/tmp /home/deployer/tmp

then go back and run rbenv install 1.9.3-p125 again.
Once done, just umount and reboot for it to put /tmp back as a noexec..

I tried to remove the noexec and remount but it wouldn't let me.. shrug

Avatar

Hey guys, I have followed the instructions to the line.. I got to here;

deployer@ve:~$ rbenv install 1.9.3-p125

Shell Output
Downloading http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz...
Installing yaml-0.1.4...

BUILD FAILED

Inspect or clean up the working tree at /tmp/ruby-build.20120728204839.7741
Results logged to /tmp/ruby-build.20120728204839.7741.log

Last 10 log lines:
yaml-0.1.4/win32/vs2008/run_parser.vcproj
yaml-0.1.4/win32/vs2008/yaml.vcproj
yaml-0.1.4/win32/vs2008/test_version.vcproj
yaml-0.1.4/win32/vs2008/run_emitter.vcproj
yaml-0.1.4/win32/vs2008/example_reformatter.vcproj
yaml-0.1.4/win32/vs2008/run_loader.vcproj
yaml-0.1.4/win32/vs2008/yamldll.vcproj
yaml-0.1.4/win32/config.h
/tmp/ruby-build.20120728204839.7741/yaml-0.1.4 /tmp/ruby-build.20120728204839.7741 ~
/home/deployer/.rbenv/plugins/ruby-build/bin/ruby-build: ./configure: /bin/sh: bad interpreter: Permission denied

... little help?