This is the quick and easy way to get up and running with Sass on Ubuntu. Sometimes it can be a slight pain when you need to get the right versions to work with each other. There is much help out there in the interwebz if you run into this problem. However, as noted on the end, if you have a project already configured, there is a workaround for this.
Install RVM
sudo apt-get update
Install Ruby
rvm install ruby
Add this to your ~/.bashrc
export PATH="$HOME/.rbenv/bin:$PATH" eval "$(rbenv init -)" export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH" |
Install Sass
Install Compass
Install Dependencies (these are just example gems, easier to just do bundle install in your project, see NOTE)
NOTE: As stated above, when you go into an existing project, it may not like the default setup. Fortunately, there is a simple workaround for this. It will give you an error like:
Could not find proper version of compass (0.12.2) in any of the sources
Run `bundle install` to install missing gems.
Just run bundle install and you will be good to go.
You may also want to use visual panels to communicate related information, tips or things users need to be aware of. |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.