ruby - Failed to load SASS plugin -
i'm using gulp, sass , compass sass-css-importer in order build project.
today i've tried initialize project on 1 of ubuntu 15.04 machines, during build couldn't find sass-css-importer. here's error message:
loaderror on line ["179"] of /home/sfomin/.rvm/gems/ruby-2.2.2/gems/compass-core-1.0.3/lib/compass/configuration/data.rb: cannot load such file -- sass-css-importer run --trace see full backtrace
i've installed ruby via rvm , dependencies via bundler.
$ bundler list gems included bundle: * bundler (1.10.3) * sass (3.4.14) * sass-css-importer (1.0.0.beta.0)
and i'm invoking compass through gulp task.
i'm not sure cause problem such amount of third-parties involved. i'm not ruby myself.
any advice highly appreciated.
$ cat /etc/issue ubuntu 15.04 \n \l $ uname -a linux destiny 3.19.0-20-generic #20-ubuntu smp fri may 29 10:10:47 utc 2015 x86_64 x86_64 x86_64 gnu/linux $ rvm --version rvm 1.26.11 (latest) wayne e. seguin <wayneeseguin@gmail.com>, michal papis <mpapis@gmail.com> [https://rvm.io/] $ ruby --version ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] $ gem --version 2.4.8 $ bundler --version bundler version 1.10.3 $ sass --version sass 3.4.14 (selective steve) $ compass --version compass 1.0.3 (polaris) copyright (c) 2008-2015 chris eppstein released under mit license. compass charityware. please make tax deductable donation worthy cause: http://umdf.org/compass $ gem query --local *** local gems *** bigdecimal (1.2.6) bundler (1.10.3) bundler-unload (1.0.2) chunky_png (1.3.4) compass (1.0.3) compass-core (1.0.3) compass-import-once (1.0.5) executable-hooks (1.3.2) ffi (1.9.8) gem-wrappers (1.2.7) io-console (0.4.3) json (1.8.1) minitest (5.4.3) multi_json (1.11.1) power_assert (0.2.2) psych (2.0.8) rake (10.4.2) rb-fsevent (0.9.5) rb-inotify (0.9.5) rdoc (4.2.0) rubygems-bundler (1.4.4) rvm (1.11.3.9) sass (3.4.14) sass-css-importer (1.0.0.beta.0) test-unit (3.0.8)
looks weird issue rvm.
here's steps cure situation in case have similar issue:
uninstall rvm using instructions answer: https://stackoverflow.com/a/4747195/1056679
install ruby following instructions article: https://gorails.com/setup/ubuntu/15.04 — use rbenv method.
update project , re-install dependencies scratch.
cheers!
Comments
Post a Comment