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 trialAdam Sackfield
Courses Plus Student 19,663 PointsSetting Up?
Hello, new to Ruby and started the tutorials but quickly come stuck. upon doing rails new treebook i get the following error:- Errni::EAGGES: Permission denied - C:/RailsInstaller/Ruby1.9.3/bin/rake.bat An error occurred while installing the rake <10.1.0>, and Bundler cannot continue. Any Advice? Thanks
4 Answers
James Barnett
39,199 PointsThere's not much context about what you typed before you got that error. My guess you don't have permissions to write files to where that program was trying to the location it was trying to write them to. Try using Run as Administrator.
Adam Sackfield
Courses Plus Student 19,663 PointsI am running windows, i have tried running CMD by right click and run as admin. I am unable to do anything. The video course Build a simple ruby on rails application, these are the things i have tried "rvm use 1.9.3 and i get the error 'rvm' is not recognized as an internal or external command. I then created a new directory which i do have permission to write to and get the error from original message above. I might add the tutor on this video seems to fly through the intro without much guidance which is a stark contrast from all the other tutors on here. Any advice or other questions you need to ask would be great thanks for responses above guys.
James Barnett
39,199 PointsFor one thing you don't need to use **rvm use* on Windows, that's specific to OS X/Linux. However I haven't done the Ruby on Rails courses myself so I don't have much to offer here.
A quick search of the forum yielded this thread which you might find to be of some use. https://teamtreehouse.com/forum/unofficial-guide-to-actually-finishing-the-ror-intro-tutorial
Adam Sackfield
Courses Plus Student 19,663 PointsThanks i will have a look at that link. That's what i mean about the tutor quality. It was a little to fast paced for a beginner course. Seems to me like some steps where missed in the video.
Adam Sackfield
Courses Plus Student 19,663 PointsJason Seifer any advice on this please?
Scott Magdalein
1,667 Points"Permission denied" is usually solved by using the sudo command before the command you're trying to complete. For example, if you're getting a permission denied error when running gem install rails, you'd instead run sudo gem install rails.
James Barnett
39,199 PointsScott Magdalein - The original poster referenced a c:** drive & a **.bat file which leads me to believe it's a computer running Windows not a OS X or Linux. Windows of course doesn't support sudo it uses Run As Administrator
Scott Magdalein
1,667 PointsI stand eloquently and appropriately corrected. Please disregard my answer. Thanks James!
Adam Sackfield
Courses Plus Student 19,663 PointsAdam Sackfield
Courses Plus Student 19,663 PointsJames Barnett any more help on this please? Still stuck
Adam Sackfield
Courses Plus Student 19,663 PointsAdam Sackfield
Courses Plus Student 19,663 PointsJames Barnett any more help on this please? Still stuck