Install trouble on Ubuntu

Dave's Avatar


28 Jun, 2010 10:51 PM

Can't seem to get Less running on Ubuntu (9.10). Did:

sudo apt-get install ruby-full sudo apt-get install rubygems

and then

sudo gem install less

The command 'lessc' is not recognized. Is there some path goo that I need? Would like to use Less, but don't really want to become an expert in Ruby Gems to do it.


  1. 1 Posted by Dave on 28 Jun, 2010 10:59 PM

    Dave's Avatar

    Figured it out. For others, execute "gem environment" to figure out the "executable directory" and make sure that is in your path.

  2. 2 Posted by melo on 25 Feb, 2011 04:21 PM

    melo's Avatar

    Thanks for the help!

    I'm running ubuntu 10.10. after that i just had to put the path into .bashrc:

    export PATH=/var/lib/gems/1.8/bin:${PATH}

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac