correctly compare version
do not fail if you use bundler

if you do not have compass gem available, you must be using "bundler install"
In such case make sure that you will use compass > 0.12.0.
Otherwise determine what version of compass you have and require compass-rails if needed.