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 Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Mac

I 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

Hi 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
peyton caseria
Courses Plus Student 12,281 Points

ruby 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.

peyton caseria
PLUS
peyton caseria
Courses Plus Student 12,281 Points

Warning Insecure World

Typically 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

Thank 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!