itsdarrylnorris / lazydubuntu

(Deprecated) Setting Up my Drupal Enviroment in Ubuntu
http://www.lazydubuntu.com
Apache License 2.0
20 stars 10 forks source link

Compass #5

Closed itsdarrylnorris closed 9 years ago

itsdarrylnorris commented 9 years ago

Problem:

We need to provide Compass in this project.

Solution:

Download, Install and configure Compass.

http://compass-style.org/

horvan commented 9 years ago

Resources: Drubuntus Codebase functions.sh deeson.co.uk - by David Allerd

apt -qq -y install  software-properties-common >> /dev/null 2>&1

updatenodejs(){

sudo apt-add-repository -y ppa:chris-lea/node.js >>/dev/null 2>&1
sudo apt-get install nodejs
#installs preproceccor languages and grunt
getgems(){
updatenodejs  >> /dev/null 2>&1
gem install sass  >> /dev/null 2>&1
gem install compass  >> /dev/null 2>&1
npm install -g grunt-cli >> /dev/null 2>&1
getdrush >> /dev/null 2>&1
}
horvan commented 9 years ago

see #5 Compass

itsdarrylnorris commented 9 years ago

I have run every command manually to see if the installation is successful and I run to this error when I was installing SASS.

screenshot from 2015-01-26 07 47 10

So I installed ruby before the sass.

#Install Ruby
sudo apt-get install ruby
# Then I installed SASS
gem install sass 
sass -v # To verify if sass is installed properly.

I ran into a problem when I try to install compass.

screenshot from 2015-01-26 07 54 56

This can was solve by updating the packages.

gem update --system
gem install compass