I have been trying to install rails usuing terminal.When i write on Terminal gem install bundler
I get the results like this:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb:212: warning: Insecure world writable dir /Users/RiduanlIslam in PATH, mode 040777
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/bin directory.
Can anybody please tell me how can i fix the problem?How can i enable file permission? Thanks!