Ruby: Insecure world writeable dir in PATH

I faced this error message when I ran rails or bundle: /Users/XXX/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.5/lib/bundler.rb:284: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 After short research I found the reason for this issue. /usr/bin/local was addded to $PATH and changed to be writable. I think I made the mistake and changed it to world because of […]

Change commit author and email

I had the situation where a git repository had the wrong author name and email. Before this was going to be published I wanted all commits having the correct author name. After short research I found this solution: git filter-branch –commit-filter ‚ if [ „$GIT_COMMITTER_NAME“ = „<Old Name>“ ]; then GIT_COMMITTER_NAME=“<New Name>“; GIT_AUTHOR_NAME=“<New Name>“; GIT_COMMITTER_EMAIL=“<New […]