According to compass-normalize git hub
Installation
It is highly encouraged to install from the RubyGems build which
can be found here.
From the command line:
$ gem install compass-normalize
You can also install the gem from your local clone:
$ git clone git://github.com/ksmandersen/compass-normalize.git
$ rake build
$ rake install
Usage
When creating a new project with compass:
$ compass create <my_project> -r compass-normalize --using compass-normalize
If using an existing project, edit your config.rb and add this line:
require 'compass-normalize'
To use the normalize plugin, just import and include normalize:
@import "normalize";
Note: SO Q&A discussion sudo-gem-install-or-gem-install-and-gem-locations
You can also install gems in your local environment (without sudo) with
gem install --user-install
I recommend you install RVM and start a happy life with portable gem homes and different version of Ruby all living under one roof.
Regarding the second question mentioned in the comments below regarding DEPRECATION WARNING
:
There is a known issue in compass
which was mentioned here
A branch with fix was published here, updating compass
with the fix can be done using:
git 'https://github.com/ably-forks/compass', branch: 'sass-deprecation-warning-fix' do
gem 'compass-core'
end
Similar issue was mentioned here