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 trialFreddy D
2,596 PointsI got everything working, but got some error messages along the way in Terminal.. can someone give me an opinion? (OS X)
/Users/Fd/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler.rb:315: warning: Insecure world writable dir /Users/Fd in PATH, mode 040757
appears a few times when I run rails test newapp
and bin/rails server
. Does this has to do with file/directory permissions?
At the end the service starts correctly and I can get to the "Youβre riding Ruby on Rails!" page. So this means I'm good to go and I can continue the course?
Thank you so much for your support Treehouse fellas!!! :D
3 Answers
Steve Hunter
57,712 PointsHi there,
Yes, this is a permissions thing - the Mode 040757 refers to a permission state, I think.
If it was me, I wouldn't worry about it. As long as your rails s
command brings up the page, you're good to go!
Enjoy the course - it covers a lots of stuff. And shout if you need help! You can @ mention me if you want a speedy response.
Steve.
peyton caseria
Courses Plus Student 12,281 PointsTypically if I write a think in a post I go ahead and trouble shoot the problem. This is what I searched the first time and got quality results on, warning: Insecure world writable dir /Users/Fd in PATH, mode 040757
read to the answer here and someone explained what is going on, let me know if this helps. you can @ mention me as well like so @peytoncaseria
Freddy D
2,596 PointsThank you so much for your answers @peytoncaseria & @stevehunter... ops I've been a bit lazy this time.. a google search pointed me to a stack overflow question that explained what exactly was going on. (http://stackoverflow.com/questions/5380671/getting-the-warning-insecure-world-writable-dir-home-chance-in-path-mode-04)
Yes Ruby was just warning me that the directory had unsafe permissions. Running the chmod go-w command on the folder that Ruby warned me about solved the "problem" which wasnt really a problem but more of a security issue.
Again Thank you guys for your time! Next time I'll google first ;p ! Have a great day!
peyton caseria
Courses Plus Student 12,281 Pointspeyton caseria
Courses Plus Student 12,281 Pointsruby on rails always returns some weird stuff that looks scary and intimidating. Usually it is just a quiet church mouse. This is a pretty safe approach.
I went ahead and trouble shot this.