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

Development Tools Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Mac

Is it safe to sudo override 'permission denied'?

I keep getting permission denied. I feel like I can trust this, but I dont want to mess up my computer.

Could it be at all dangerous to install?

1 Answer

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Hi Samuel,

It shouldn't mess up your computer at all. In fact as I recall if you want to use sudo to install a ruby gem the console should ask you for your username and password! So in theory only you can install anything if you use sudo. :-)

I am getting permission denied so i have been doing sudo