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

Ruby

Jason Smith
Jason Smith
17,879 Points

Installing Ruby on Rails get an error.

Here is what I get when I trying to install Rails.

ERROR: While executing gem ... (Errno::EACCES) Permission denied @ rb_sysopen - /Users/jasonsmith/.rvm/gems/ruby-2.4.2/gems/nokogiri-1.8.1/.autotest

Any help would be great. I have tried to search for an answer at Stackflow but nothing. If you have had this same problem and know what I need to do it would be much appreciated.

Jason Smith
Jason Smith
17,879 Points

I got it to work. I did a sudo gem install rails

1 Answer

Jason Smith
Jason Smith
17,879 Points

I got it to work. I did a sudo gem install rails