Error while running Ruby on Rails server? -


i'm running error when run rails server. server runs fine, think security issue , patch asap, can't if change permission of directory.

as can see on log, server runs fine security warning:

/users/sweetmedia/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/railties-4.0.4/lib/rails/app_rails_loader.rb:37: warning: insecure world writable dir /volumes/sweetmedia/ruby/myapp/simple_cms in path, mode 040777 /users/sweetmedia/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:220: warning: insecure world writable dir /volumes/sweetmedia/ruby/myapp/simple_cms in path, mode 040777 => booting webrick => rails 4.0.4 application starting in development on http://0.0.0.0:3000 => run `rails server -h` more startup options => ctrl-c shutdown server [2014-03-24 14:27:57] info  webrick 1.3.1 [2014-03-24 14:27:57] info  ruby 2.1.1 (2014-02-24) [x86_64-darwin13.0] [2014-03-24 14:27:57] info  webrick::httpserver#start: pid=26930 port=3000 

how can fixed?

see question: warning: insecure world writable dir when run ruby or gem command

just sudo chmod go-w /opt/local/bin @ shell prompt

or, in case:

sudo chmod go-w /volumes/sweetmedia/ruby/myapp/simple_cms 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -