On my system, when I run compass -v or sass -v, it outputs deprecation warning:
Sass 3.5 will no longer support Ruby 1.9.3..
Running ruby -v gives:
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
compass version is 1.0.3 and sass version is 3.4.22.
What I have done:
- Re-run
gem install compassto update compass. - Re-run
gem install sassto update sass.
What should I do to resolve deprecation warning?
I was going to pick an answer but original answer was deleted. So I post here the answer.
To resolve deprecation warning, I had to install rvm which automatically upgrade ruby to 2.3.0. First, run
Then run
to install rvm which also upgrade ruby to latest stable version. After that, however, I chose to upgrade my ruby using
rvm.After it successfully upgrade ruby to version 2.3.1, I need to run
again because somehow
compassinstallation was broken. After that, things works smoothly.