博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Win8.1下安装Sass Compass
阅读量:7040 次
发布时间:2019-06-28

本文共 2718 字,大约阅读时间需要 9 分钟。

  hot3.png

1.安装Ruby

Windows下使用RubyInstaller安装Ruby,下载地址:  

根据需要下载合适的版本(64位或32位),rubyinstaller-2.2.2-x64.exe

下载完成后直接点击安装,安装完成后打开控制台,输入以下命令:

C:\Users\User>ruby -vruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]C:\Users\User>gem -v2.4.5

如果输入命令后显示类似上面的结果,就说明Ruby安装成功了,gem用于管理(安装或删除)Ruby软件包

2.国内网络环境重新配置RubyGems源地址,方法如下:

C:\Users\User>gem sources --remove https://rubygems.org/https://rubygems.org/ removed from sourcesC:\Users\User>gem sources -a http://ruby.taobao.org/source http://ruby.taobao.org/ already present in the cacheC:\Users\User>gem sources -l*** CURRENT SOURCES ***http://ruby.taobao.org/

3.安装Sass & Cpmpass

C:\Users\User>gem install sassFetching: sass-3.4.14.gem (100%)Successfully installed sass-3.4.14Parsing documentation for sass-3.4.14Installing ri documentation for sass-3.4.14Done installing documentation for sass after 10 seconds1 gem installed
C:\Users\User>gem install compass-core compass-import-once compassFetching: multi_json-1.11.0.gem (100%)Successfully installed multi_json-1.11.0Fetching: compass-core-1.0.3.gem (100%)Successfully installed compass-core-1.0.3Parsing documentation for multi_json-1.11.0Installing ri documentation for multi_json-1.11.0Parsing documentation for compass-core-1.0.3Installing ri documentation for compass-core-1.0.3Done installing documentation for multi_json, compass-core after 4 secondsFetching: compass-import-once-1.0.5.gem (100%)Successfully installed compass-import-once-1.0.5Parsing documentation for compass-import-once-1.0.5Installing ri documentation for compass-import-once-1.0.5Done installing documentation for compass-import-once after 0 secondsFetching: chunky_png-1.3.4.gem (100%)Successfully installed chunky_png-1.3.4Fetching: rb-fsevent-0.9.5.gem (100%)Successfully installed rb-fsevent-0.9.5Fetching: ffi-1.9.8-x64-mingw32.gem (100%)Successfully installed ffi-1.9.8-x64-mingw32Fetching: rb-inotify-0.9.5.gem (100%)Successfully installed rb-inotify-0.9.5Fetching: compass-1.0.3.gem (100%)    Compass is charityware. If you love it, please donate on our behalf at http://umdf.org/compass Thanks!Successfully installed compass-1.0.3Parsing documentation for chunky_png-1.3.4Installing ri documentation for chunky_png-1.3.4Parsing documentation for rb-fsevent-0.9.5Installing ri documentation for rb-fsevent-0.9.5Parsing documentation for ffi-1.9.8-x64-mingw32Installing ri documentation for ffi-1.9.8-x64-mingw32Parsing documentation for rb-inotify-0.9.5Installing ri documentation for rb-inotify-0.9.5Parsing documentation for compass-1.0.3Installing ri documentation for compass-1.0.3Done installing documentation for chunky_png, rb-fsevent, ffi, rb-inotify, compass after 6 seconds8 gems installed

转载于:https://my.oschina.net/myshow/blog/423465

你可能感兴趣的文章
SVN在Windows下的安装配置步骤
查看>>
网页两侧悬浮广告js代码
查看>>
算法练习:判断一个字符串中的字符是否唯一(只用基本数据结构)
查看>>
淘宝技术的科普贴图文
查看>>
http://itunes.apple.com/lookup?id=获取不到版本
查看>>
理解Javascript的状态容器Redux
查看>>
制作liveusb实现ubuntserver12全自动无人职守安装
查看>>
centos7的fstab要小心
查看>>
Windows phone8 基础篇(三)常用控件(二)
查看>>
架构师速成4.8-幼儿园书单资料推荐
查看>>
MySQL-Proxy实现读写分离部署文档
查看>>
For Update
查看>>
Hyper-V 之03 创建iSCSI存储和故障转移群集
查看>>
如何成为一名架构师?
查看>>
我的友情链接
查看>>
nfs failed, reason given by server: Permission denied的离奇解决
查看>>
2018 1.21测试
查看>>
DFS与BFS对比
查看>>
dedeCMS php语法在模版中的应用
查看>>
sublime 安装ctag 实现函数跳转
查看>>