CentOS安装sass-lang报错Temporary failure in name resolution
来源:互联网 发布:加工东西在淘宝出售 编辑:程序博客网 时间:2024/05/18 16:39
在给我们的开发平台添加sass/scss语言支持时,需要安装sass-lang(已安装ruby环境)。
但遇到如上的错误,经排查和DNS配置(vi /etc/resolv.conf)无关,而是因为gem的source不可用。
删除原有gem源:
#gem sources --remove http://rubygems.org/
#gem sources --remove https://rubygems.org/
添加如下gem源:
#gem sources -a https://ruby.taobao.org/ (rubygem的阿里镜像)
执行安装:
#sudo gem install sass
查看安装版本:
#sass -v
DEPRECATION WARNING:
Sass 3.5 will no longer support Ruby 1.9.3.
Please upgrade to Ruby 2.0.0 or greater as soon as possible.
Sass 3.4.22 (Selective Steve)
0 0
- CentOS安装sass-lang报错Temporary failure in name resolution
- telnet报错,Temporary failure in name resolution:Illegal seek
- CentOS使用wget命令报错Temporary failure in name resolution解决方法
- Temporary failure in name resolution
- Temporary failure in name resolution
- Temporary failure in name resolution
- 在安装python的pip工具时,遇到以下报错[Errno -3] Temporary failure in name resolution',)': /simple/pip/
- yum安装软件报错:curl#6 - "Could not resolve host: mirrorlist.centos.org; Temporary failure in name resolut
- Resolving failed: Temporary failure in name resolution 错误解决方法
- Yum 出现 Temporary failure in name resolution 解决方案
- 控制节点mysql日志:Temporary failure in name resolution
- Resolving failed: Temporary failure in name resolution 错误解决方法
- php_network_getaddresses: getaddrinfo failed:Temporary failure in name resolution
- socket.gaierror Errno -3 Temporary failure in name resolution
- <urlopen error [Errno -3] Temporary failure in name resolution>
- scrapy爬虫报错“Temporaty failure in name resolution”
- wget下载出现failed: Temporary failure in name resolution错误的解决方法
- 关于错误IOError:<urlopen error (-3, 'Temporary failure in name resolution')>的解决
- Item 05:了解C++默默编写并调用哪些函数
- InterSaaS(互联SaaS)
- 机器学习讲座总结-读图时代的识图技术
- html页面打开另一个html页面
- Android版本微信头像剪裁与系统剪裁之间的选择
- CentOS安装sass-lang报错Temporary failure in name resolution
- java中如何将字符数组转换成字符串,以逗号分割
- 点击变换颜色出错
- Android网络HttpURLConnection和HttpClient
- 自定义初学4——自定义属性
- Mac SVN使用
- 4456: [Zjoi2016]旅行者|分治+最短路
- swift(01)基础学习
- Mybatis高级映射