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! While you're at it, check out some resources Treehouse students have shared here.

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

CSS Sass Basics (retired) Getting Started with Sass Installing and Using Sass

John Fisher
John Fisher
7,974 Points

Sass instal on Mac. Sudo install not a good idea?

I'm going to Install Sass on my Mac but getting error the error message in terminal; "You don't have write permissions for the /Library/..."

I believe one way around this is to use "sudo gem install sass", but reading about it online, and people seem to be strongly against using 'sudo" to install cos it means you can mess up your macs install of Ruby, instead they suggest using something called rbenv to create safely. Is this a better idea? I don't want to mess my computer up.

I would also like to learn Ruby on Rails further down the line, and dont know if this might affect that decision at some point.

thanks

2 Answers

Colin Marshall
Colin Marshall
32,861 Points

You're fine using sudo. You might need to reinstall Sass if you were to use rbenv or RVM in the future, but that won't be a big issue.

John Fisher
John Fisher
7,974 Points

Thanks for your help Colin