---
title: "gen install compass--在window compass安装"
author: "mr.a"
date: "2014-12-02T17:11:02Z"
tags: []
categories: ["Web前端"]
slug: "gen-install-compass-window-compass"
draft: false
lastmod: "2014-12-02T17:11:02Z"
id: 2162570
url: "https://mr-a.iteye.com/blog/2162570"
---

首先rubygems.org被墙 需要用淘宝的镜像

 

gem sources --remove https://rubygems.org/

gem sources -a https://ruby.taobao.org/

gem sources -l

 

 

然后

gem install sass

然后

gem install compass

 

需要注意的:

 

ruby的版本可能旧了 需要

gem update -- system

 

之前install失败留下的cache可能会造成Error 需要去对应目录删除 根据错误提示去找