selanac82
selanac82

Reputation: 3000

Grunt contrib sass NoMethodError: undefined method `<<' for nil:NilClass

I recently updated my Ruby to v1.9.3 and updated sass and compass. Now when I run the grunt-contrib-scss task I receive the error:

NoMethodError: undefined method `<<' for nil:NilClass

I'm not an expert in compass and scss so I have no idea what's going on.

Upvotes: 0

Views: 1251

Answers (1)

zessx
zessx

Reputation: 68790

You probably used --pre option to update Sass, and it installed the 3.4.0.rc.1 version, which is the problem.

Uninstall the 3.4.0.rc.1 version, and use the 3.3.10 one :

gem uninstall sass --version 3.4.0.rc.1
gem install sass --version 3.3.10

Upvotes: 7

Related Questions