Friday, July 12, 2013

Installing Ruby, Rubygems, Compass and Sass in Ubuntu 12.04 LTS

Open Terminal - Ctrl + Alt + t

Login as root - sudo -s (this will ask for you a password)

After entered the password. In the terminal write this command -

For installing ruby :-

apt-get install ruby-full build-essential

For installing rubygems :-

apt-get install rubygems

For installing compass :-

gem install compass

For installing sass :-

gem install sass

check you sass

sass -v

Note: If there is an error you probably need to the following line export PATH=$PATH:/var/lib/gems/1.8/bin  in the end of your ./bashrc

How to do it

nano ./bashrc
append the line in the end export PATH=$PATH:/var/lib/gems/1.8/bin in the end of your ./bashrc
close your terminal and start it again

No comments:

Post a Comment