一、更改centOS語言,中文看起來很蛋疼。api
fix:ruby
一、#cat /etc/sysconfig/i18n
二、LANG="en_US.UTF-8"
三、SYSFONT="latarcyrheb-sun16"bash
二、安裝rubycurl
step:url
一、curl -sSL https://get.rvm.io | bash -s stablespa
Q:.net
try downloading the signatures:server
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3get
or if it fails:it
command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
fix:
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
curl -sSL https://get.rvm.io | bash -s stable
step1.1:
從新登陸
step2:
rvm install ruby-1.9.3-p547
step3:
ruby -version