Skip to content

Instantly share code, notes, and snippets.

@scottswezey
Created August 2, 2010 00:00
Show Gist options
  • Save scottswezey/503923 to your computer and use it in GitHub Desktop.
Save scottswezey/503923 to your computer and use it in GitHub Desktop.
[scott@server2 ~]$ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 373 100 373 0 0 2442 0 --:--:-- --:--:-- --:--:-- 0
mkdir: cannot create directory `/usr/local/rvm': Permission denied
bash: line 10: cd: /usr/local/rvm/src: No such file or directory
Cloning into rvm...
remote: Counting objects: 2635, done.
remote: Compressing objects: 100% (1364/1364), done.
remote: Total 2635 (delta 1566), reused 1685 (delta 797)
Receiving objects: 100% (2635/2635), 710.84 KiB | 324 KiB/s, done.
Resolving deltas: 100% (1566/1566), done.
grep: /home/scott/.zsh*: No such file or directory
mkdir: cannot create directory `/usr/local/rvm': Permission denied
mkdir: cannot create directory `/usr/local/rvm': Permission denied
mkdir: cannot create directory `/usr/local/rvm': Permission denied
mkdir: cannot create directory `/usr/local/rvm': Permission denied
mkdir: cannot create directory `/usr/local/rvm': Permission denied
RVM: shell scripts which allow management of multiple ruby interpreters and environments.
RTFM: http://rvm.beginrescueend.com/
HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
/mkdir: cannot create directory `/usr/local/rvm': Permission denied
mkdir: cannot create directory `/usr/local/rvm': Permission denied
mkdir: cannot create directory `/usr/local/rvm': Permission denied
mkdir: cannot create directory `/usr/local/rvm': Permission denied
mkdir: cannot create directory `/usr/local/rvm': Permission denied
mkdir: cannot create directory `/usr/local/rvm': Permission denied
mkdir: cannot create directory `/usr/local/rvm': Permission denied
mkdir: cannot create directory `/usr/local/rvm': Permission denied
-cp: cannot create regular file `/usr/local/rvm/': Is a directory
\cp: cannot create regular file `/usr/local/rvm/': Is a directory
|mkdir: cannot create directory `/usr/local/rvm': Permission denied
cp: cannot create directory `/usr/local/rvm': Permission denied
/mkdir: cannot create directory `/usr/local/rvm': Permission denied
cp: cannot create directory `/usr/local/rvm': Permission denied
-mkdir: cannot create directory `/usr/local/rvm': Permission denied
cp: cannot create directory `/usr/local/rvm': Permission denied
\mkdir: cannot create directory `/usr/local/rvm': Permission denied
cp: cannot create directory `/usr/local/rvm': Permission denied
|mkdir: cannot create directory `/usr/local/rvm': Permission denied
/mkdir: cannot create directory `/usr/local/rvm': Permission denied
cp: cannot create directory `/usr/local/rvm': Permission denied
-mkdir: cannot create directory `/usr/local/rvm': Permission denied
cp: cannot create directory `/usr/local/rvm': Permission denied
\mkdir: cannot create directory `/usr/local/rvm': Permission denied
./scripts/install: line 138: /usr/local/rvm/config/user: No such file or directory
|chmod: cannot access `/usr/local/rvm/scripts/monitor': No such file or directory
/chmod: cannot access `/usr/local/rvm/scripts/match': No such file or directory
-chmod: cannot access `/usr/local/rvm/scripts/log': No such file or directory
\chmod: cannot access `/usr/local/rvm/scripts/install': No such file or directory
|chmod: cannot access `/usr/local/rvm/scripts/color': No such file or directory
/chmod: cannot access `/usr/local/rvm/scripts/db': No such file or directory
-chmod: cannot access `/usr/local/rvm/scripts/fetch': No such file or directory
\chmod: cannot access `/usr/local/rvm/scripts/log': No such file or directory
|chmod: cannot access `/usr/local/rvm/scripts/set': No such file or directory
/chmod: cannot access `/usr/local/rvm/scripts/package': No such file or directory
-chmod: changing permissions of `/usr/local/bin/git': Operation not permitted
chmod: changing permissions of `/usr/local/bin/git-cvsserver': Operation not permitted
chmod: changing permissions of `/usr/local/bin/gitk': Operation not permitted
chmod: changing permissions of `/usr/local/bin/git-receive-pack': Operation not permitted
chmod: changing permissions of `/usr/local/bin/git-shell': Operation not permitted
chmod: changing permissions of `/usr/local/bin/git-upload-archive': Operation not permitted
chmod: changing permissions of `/usr/local/bin/git-upload-pack': Operation not permitted
chmod: changing permissions of `/usr/local/bin/ri': Operation not permitted
chmod: changing permissions of `/usr/local/bin/ruby': Operation not permitted
|mkdir: cannot create directory `/usr/local/rvm': Permission denied
mkdir: cannot create directory `/usr/local/rvm': Permission denied
cp: cannot create regular file `/usr/local/rvm/gemsets/global.gems': No such file or directory
mkdir: cannot create directory `/usr/local/rvm': Permission denied
cp: cannot create regular file `/usr/local/rvm/gemsets/default.gems': No such file or directory
mkdir: cannot create directory `/usr/local/rvm': Permission denied
cp: cannot create regular file `/usr/local/rvm/gemsets/jruby/global.gems': No such file or directory
/mkdir: cannot create directory `/usr/local/rvm': Permission denied
*
Correct permissions for base binaries in /usr/local/bin...
Copying manpages into place.cp: cannot stat `./scripts/man/./scripts/man': Not a directory
Notes for Linux ( CentOS release 5.5 (Final) )
* NOTE: MRI stands for Matz's Ruby Interpreter (1.8.X, 1.9.X), ree stands for Ruby Enterprise Edition and rbx stands for Rubinius.
* curl is required.
* patch is required (for ree, some ruby head's).
* If you wish to install rbx and/or any MRI head (eg. 1.9.2-head) then you must install and use rvm 1.8.7 first.
* For MRI/ree (if you wish to use it) you will need:
$ yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel
$ yum install -y iconv-devel # NOTE: For centos 5.4 final iconv-devel might not be available :(
* For JRuby (if you wish to use it) you will need:
$ yum install -y java
scott,
Thank you for using rvm. I hope that it makes your work easier and more enjoyable.
If you have any questions, issues and/or ideas for improvement please hop in #rvm on irc.freenode.net and let me know.
My irc nickname is 'wayneeseguin' and I hang out from ~09:00-17:00EST and again from ~21:00EST-~00:00EST.
If I do not respond right away, please hang around after asking your question, I will respond as soon as I am back.
Be sure to get head often as rvm development happens fast, you can do this by typing 'rvm update --head'.
w⦿‿⦿t!
~ Wayne
Installation of RVM to /usr/local/rvm/ is complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment