Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Jason McGovern
5,018 Pointsnomethoderror in sass tutorial --watch .
I don't know anything about sass, so I took this tutorial on it, and when I got to the section about watching a directory, I get a "nomethoderror". Even after googling and reading through this forum, I can't find the answer. Please help. Here's my terminal window:
macbook:~ MaccG$ cd /Users/MaccG/Documents/tutorials/sass macbook:sass MaccG$ sass test.scss p { color: blue; background: red; }
.hello { height: 10px; } macbook:sass MaccG$ sass --watch .
Sass is watching for changes. Press Ctrl-C to stop. NoMethodError:
2 Answers

Diego Lucero
10,588 PointsI'm getting the same error. not sure what I'm doing wrong, or if my configuration is incorrect to begin with.

Diego Lucero
10,588 PointsI think I found something that works. I was having errors while using the Ruby and Rails command prompt. I guess Catlin mentioned that there are different ways to install/run Sass for each method of installation.
I switched over to just a plain Ol Ruby command line, and that seems to work.