Skip to content

Instantly share code, notes, and snippets.

@omariosouto
Forked from renanlara/compilador-sass.md
Created October 23, 2015 12:57
Show Gist options
  • Save omariosouto/dca18b31cb59c414dc8c to your computer and use it in GitHub Desktop.
Save omariosouto/dca18b31cb59c414dc8c to your computer and use it in GitHub Desktop.
Compilador SASS

Linux / Ubuntu 14.04 LTS

  • Instale o Ruby > $ sudo apt-get install ruby-full
  • Instale o SASS > $ sudo su -c "gem install sass"
  • Instale o Compass -> $ sudo gem install compass

Windows

  • Instale o Ruby Installer > http://rubyinstaller.org/
  • Executar como Administrador
  • Selecionar "Add Ruby executables to your PATH"
  • Executar o prompt do Ruby (Start command Prompt with Ruby)
  • Instale o SASS > gem install sass
  • Instale o Compass > gem install compass

Sublime Text 3

  • Instalar o Plugin > Compass
  • Instalar o Plugin > SublimeOnSaveBuild

Para que os arquivos sejam compilados automaticamente, use o arquivo config.rb na pasta assets ou na raiz do seu projeto.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment