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

Steve Hunter
MOD
Steve Hunter
Treehouse Moderator 57,551 Points

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
Pro 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
PRO
peyton caseria
Pro 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!