继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

关于Ruby环境配置的疑问

RISEBY
关注TA
已关注
手记 309
粉丝 70
获赞 317
  1. brew install ruby 会安装在哪个路径下?
    答:在/usr/local/Cellar/ruby/2.4.1/bin/ruby路径下

  2. 安装 RVM gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 失败,提示command not found: gpg,如何解决?
    答:用 Homebrew 安装 GnuPG :brew install gnupg gnupg2

  3. 安装 RVM gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 失败,提示 gpg no keyserver available,如何解决?
    答:替换 keyserver 地址为 'hkp://pgp.mit.edu',完整命令为 gpg --keyserver hkp://pgp.mit.edu --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

  4. 安装 RVM \curl -sSL https://get.rvm.io | bash -s stable 提示

 WARNING: You have '~/.profile' file, you might want to load it,
    to do that add the following line to '/Users/XXX/.bash_profile':      source ~/.profile

答: 打开 /Users/XXX/.bash_profile 文件,把 source ~/.profile 这行文本复制到 .bash_profile 最后一行。



作者:云抱住阳光太阳没放弃发亮
链接:https://www.jianshu.com/p/37902cf78f4f

打开App,阅读手记
0人推荐
发表评论
随时随地看视频慕课网APP