Compass error for command 'grunt server'
This is an issue with Compass 0.12.4.
Follow the issue here: https://github.com/chriseppstein/compass/issues/1618
You need to uninstall compass 0.12.4: gem uninstall compass
, and then install the latest working release: gem install compass -v 0.12.3
.
grunt cannot find compass command. Why not?
I thought compass was a ruby thing.
try gem install compass
For yum based systems
yum -y install gcc ruby-devel rubygems compass
might also work.
Yeoman Angular Node App, Compass Failed on Grunt Serve
Install compass and you'll be fine:
http://compass-style.org/install/
(the npm package is just a wrapper for actual compass)
Installed compass with gem but still getting error not found in grunt serve
Had to install RubyGem-Compass from RPM directly:
http://software.opensuse.org/package/ruby2.1-rubygem-compass
sudo zypper install ruby2.1-rubygem-compass-1.0.1-10.1.x86_64.rpm
Compass not running with Grunt on Windows 7
I faced the same issue (windows 7 64 bits) and I solved by installing ruby and then the compass gem.
Depending on your system (I'm on windows too), you can download ruby here:
http://rubyinstaller.org/downloads/
Then don't forget to set up the environment variables on windows I think you can do that directly from the installer, but also from Computer -> Control Panel -> Edit Environment Variables. Then on System Variables, add to the Path variable the ruby path, (I did that on http://i.stack.imgur.com/928Y7.png).
Finally open a CMD terminal and write:
gem install compass
Now grunt should be working well:
grunt serve
Running "compass:server" (compass) task
directory .tmp/styles
write .tmp/styles/main.css (0.096s)
write .tmp/styles/main.css.map
Done, without errors.
I hope that helps,
regards,
Jose
Grunt need compass installed in system PATH Warning
The warning seems to say it all.
If you're on OS X or Linux you probably already have Ruby installed; test with
ruby -v
in your terminal. When you've confirmed you have Ruby installed, rungem update --system && gem install compass
to install Compass and Sass.If that doesn't help, then install the
grunt-contrib-compass
package with the instructions at https://github.com/gruntjs/grunt-contrib-compass
Related Topics
Vagrant Ssh Not Working in Mobaxterm on Windows
Changing Http Status Message Using Sinatra
Error Installing "Kgio-2.9.2" Gem on Windows
Rake Aborted! Undefined Method 'Migration_Error=' for Activerecord::Base:Class
How to Search for Useful Ruby Gems
Ruby on Rails: Radio Buttons for Collection Select
Uninstall Ruby on Rails on MAC Os X 10.6
Ruby on Rails - Activerecord::Relation Count Method Is Wrong
Rotate Bits Right Operation in Ruby
How to Enable Colors with Rspec When Using Jruby or Bundle Exec
How to Render a Layout Directly from Routes.Rb, Without a Controller
Ruby Convert Single Quotes to Double Quotes in Xml
How to Define a Simple Global Variable in an Rspec Test That Can Be Accesed by Helper Functions
Rake Test Very Slow in Windows
Why Does the Rand() Return Always the Same Number