Skip to content

Instantly share code, notes, and snippets.

@renanlara
Last active November 25, 2015 12:39
Show Gist options
  • Save renanlara/fefc9659e3238f31700e to your computer and use it in GitHub Desktop.
Save renanlara/fefc9659e3238f31700e to your computer and use it in GitHub Desktop.
Compilador SASS

Linux / Ubuntu

  • 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