安装到rvm是卡壳
接下来该如何操作
xxx@ubuntu:~$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 gpg: directory `/home/zhouhang/.gnupg' created gpg: new configuration file `/home/zhouhang/.gnupg/gpg.conf' created gpg: WARNING: options in `/home/zhouhang/.gnupg/gpg.conf' are not yet active during this run gpg: keyring `/home/zhouhang/.gnupg/secring.gpg' created gpg: keyring `/home/zhouhang/.gnupg/pubring.gpg' created gpg: requesting key D39DC0E3 from hkp server keys.gnupg.net gpg: /home/zhouhang/.gnupg/trustdb.gpg: trustdb created gpg: key D39DC0E3: public key "Michal Papis (RVM signing) " imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) xxx@ubuntu:~$ \curl -sSL https://get.rvm.io | bash -s stable curl: (7) Failed to connect to get.rvm.io port 443: Connection refused xxx@ubuntu:~$ \curl -sSL https://get.rvm.io | bash -s stable curl: (35) gnutls_handshake() failed: Error in the pull function.
rvm已经被墙了,我copy了一份到笔记上,你可以直接使用
别用rvm了,用rbenv吧,上教程:(使用教程的前提,已经安装哦oh-my-zsh)
在终端中依顺序执行以下命令,即可完成ruby,rails的安装,以下代码使用了超过5次,在超过3台不同电脑上得到验证。