Skip to content

Instantly share code, notes, and snippets.

@dust3d
Created May 5, 2011 19:56
Show Gist options
  • Save dust3d/957783 to your computer and use it in GitHub Desktop.
Save dust3d/957783 to your computer and use it in GitHub Desktop.
rvm install on CentOS 5.6
sudo bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
Cloning into rvm...
remote: Counting objects: 4672, done.
remote: Compressing objects: 100% (2350/2350), done.
remote: Total 4672 (delta 3021), reused 3189 (delta 1672)
Receiving objects: 100% (4672/4672), 1.56 MiB, done.
Resolving deltas: 100% (3021/3021), done.
WARNING: Could not source script '/usr/local/rvm/scripts/base', file does not exist. RVM will likely not work as expected.
WARNING: Could not source script '/usr/local/rvm/scripts/version', file does not exist. RVM will likely not work as expected.
WARNING: Could not source script '/usr/local/rvm/scripts/selector', file does not exist. RVM will likely not work as expected.
WARNING: Could not source script '/usr/local/rvm/scripts/cd', file does not exist. RVM will likely not work as expected.
WARNING: Could not source script '/usr/local/rvm/scripts/cli', file does not exist. RVM will likely not work as expected.
WARNING: Could not source script '/usr/local/rvm/scripts/override_gem', file does not exist. RVM will likely not work as expected.
cat: /usr/local/rvm/VERSION: No such file or directory
scripts/rvm: line 127: __rvm_conditionally_add_bin_path: command not found
RVM: Shell scripts enabling management of multiple ruby environments.
RTFM: https://rvm.beginrescueend.com/
HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
Installing RVM to /usr/local/rvm/
Correct permissions for base binaries in /usr/local/rvm/bin...
Copying manpages into place.
RVM system user group 'rvm' exists, proceeding with installation.
Ensuring 'pawngo' is in group 'rvm'
Adding user 'pawngo' to the RVM group 'rvm'
Notes for Linux ( CentOS release 5.6 (Final) )
NOTE: 'ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X)
This is the *original* / standard Ruby Language Interpreter
'ree' represents Ruby Enterprise Edition
'rbx' represents Rubinius
bash >= 3.2 is required
curl is required
git is required (>= 1.7 recommended)
patch is required (for ree and some ruby-head's).
If you wish to install rbx and/or Ruby 1.9 head (MRI) (eg. 1.9.2-head),
then you must install and use rvm 1.8.7 first.
If you wish to have the 'pretty colors' again,
set 'export rvm_pretty_print_flag=1' in ~/.rvmrc.
dependencies:
# For RVM
rvm: yum install -y bash curl git # NOTE: For git you need the EPEL repository enabled
# For Ruby (MRI & Ree) you should install the following OS dependencies:
ruby: yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel ;
yum install -y make bzip2 ;
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:
jruby: yum install -y java
Installation of RVM to /usr/local/rvm/ is complete.
root,
Thank you very much for using RVM! I sincerely hope that RVM helps to
make your work both easier and more enjoyable.
If you have any questions, issues and/or ideas for improvement please
join#rvm on irc.freenode.net and let me know, note you must register
(http://bit.ly/5mGjlm) and identify (/msg nickserv <nick> <pass>) to
talk, this prevents spambots from ruining our day.
My irc nickname is 'wayneeseguin' and I hang out in #rvm typically
~09:00-17:00EDT and again from ~21:00EDT-~23:00EDT
If I do not respond right away, please hang around after asking your
question, I will respond as soon as I am back. It is best to talk in
#rvm itself as then other users can help out should I be offline.
Be sure to get head often as rvm development happens fast,
you can do this by running 'rvm get head' followed by 'rvm reload'
or opening a new shell
w⦿‿⦿t
~ Wayne
@vissul
Copy link

vissul commented Jul 18, 2012

sudo bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
bash: line 1: html: No such file or directory
bash: line 2: syntax error near unexpected token <' 'ash: line 2:<title>301 Moved Permanently</title>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment