安裝ruby用rvm

root@AY130517082447314dd4Z ~]# curl -L https://get.rvm.io | bash -s stable --ruby  html

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 15779 100 15779 0 0 6764 0 0:00:02 0:00:02 --:--:-- 83486 Please read and follow further instructions. Press ENTER to continue. Downloading RVM from wayneeseguin branch stable % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1078k 100 1078k 0 0 192k 0 0:00:05 0:00:05 --:--:-- 324k Creating group 'rvm' Installing RVM to /usr/local/rvm/ Installation of RVM in /usr/local/rvm/ is almost complete: * First you need to add all users that will be using rvm to 'rvm' group, and logout - login again, anyone using rvm will be operating with `umask u=rwx,g=rwx,o=rx`. * To start using RVM you need to run `source /etc/profile.d/rvm.sh` in all your open shell windows, in rare cases you need to reopen all shell windows. # Administrator, # # Thank you for using RVM! # I sincerely hope that RVM helps to make your life easier and more enjoyable!!! # # ~Wayne # In case of problems: # run and read: rvm notes # read docs: http://rvm.io/ # talk to us: http://webchat.freenode.net/?channels=rvm (http://freenode.net/faq.shtml#plusr) # read cheatsheet: http://cheat.errtheblog.com/s/rvm # watch screencast: http://screencasts.org/episodes/how-to-use-rvm # open a bug report: https://github.com/wayneeseguin/rvm/issues rvm 1.22.5 (stable) by Wayne E. Seguin , Michal Papis [https://rvm.io/] Searching for binary rubies, this might take some time. No binary rubies available for: centos/5/i386/ruby-2.0.0-p247. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for centos. Installing requirements for centos. Updating system Installing required packages: patch, gcc-c++, patch, readline-devel, zlib-devel, libyaml-devel, libffi-devel, openssl-devel, bison....................................................................................................................... Requirements installation successful. Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.0.0-p247, this may take a while depending on your cpu(s)... ruby-2.0.0-p247 - #downloading ruby-2.0.0-p247, this may take a while depending on your connection... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10.3M 100 10.3M 0 0 926k 0 0:00:11 0:00:11 --:--:-- 1083k ruby-2.0.0-p247 - #extracting ruby-2.0.0-p247 to /usr/local/rvm/src/ruby-2.0.0-p247 ruby-2.0.0-p247 - #extracted to /usr/local/rvm/src/ruby-2.0.0-p247 Applying patch /usr/local/rvm/patches/ruby/2.0.0/logging.patch.... ruby-2.0.0-p247 - #configuring....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... ruby-2.0.0-p247 - #post-configuration ruby-2.0.0-p247 - #compiling............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... ruby-2.0.0-p247 - #installing.................................................................................................................................................................................................................................................................................................. Creating alias default for ruby-2.0.0-p247. Recording alias default for ruby-2.0.0-p247. Creating default links/files Saving wrappers to '/usr/local/rvm/bin'........ * To start using RVM you need to run `source /usr/local/rvm/scripts/rvm` in all your open shell windows, in rare cases you need to reopen all shell windows.
相關文章
相關標籤/搜索