gruntjs - What causes this error in grunt-contrib-compass after update to Yosemite? -
Code> hoarse build throw this error:
/ user / rogerfuentes / documents / web / kelios / test / node_modules / grunt-contrib-compass / node_modules / tmp / lib / Tmp.jshew61 throwing; ^ ERROR: What is going wrong due to this error, it arises on the wrong error: (child_process.js: 1001: 11) on the process. Hair process._hand.onexit (child_process.js: 792: 34)
And how can this be fixed?
If you run a compass on the terminal window, you will see the following error:
-bash: / usr / bin / compass: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: Bad Interpreter: Any such file or directory
If you go to /System/Library/Frameworks/Ruby.framework
, you will see that the installation updated the Ruby version to 2.0. This is the reason that the compass fails to run, because now there is no Ruby 1.8.
Its solution is to restore Yosemite to the compass by running:
xcode-select - Sudo gem update --system sudo gem install compass
Install
Comments
Post a Comment