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 trialAshna Dabas
3,737 Pointspermission denied error while installing nokogiri 1.6.1.2
The error is as follows:
While executing gem ... (Errno::EACCES) Permission denied - /usr/local/rvm/gems/ruby-1.9.3-p392/build_info/nokogiri-1.6.1.info
3 Answers
Jason Seifer
Treehouse Guest TeacherHey Ashna Dabas try running sudo gem install nokogiri --version=1.6.1
then running bundle install
again and let us know if that helps.
Jason Seifer
Treehouse Guest TeacherAlex Cevallos can you possibly paste the error here?
Alex Cevallos
16,551 PointsHey Jason Seifer I fixed the issue by leaving the treehouse VM (exit) and then running the command from the regular terminal. It worked fine that way. (Everything installed).
Gary Bates
8,612 PointsCheck out this answer on stackoverflow.com This might solve your issue.
http://stackoverflow.com/questions/21371459/why-doesnt-nokogiri-install-ubuntu-12-04-rbenv
Alex Cevallos
16,551 PointsAlex Cevallos
16,551 PointsUnfortunately this did not work for me. I keep getting an error the bundler cannot continue, and to make sure nokogiri succeeds before bundling