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 […]
Use :tabNext and :tabPrevious to switch between open tabs
When you download MacVim and unzip it, move MacVim.app to applications folder. In the unzipped directory you will find a mvim script. Move this to a folder which is listed in your $PATH variable like /usr/local/bin and now you can run MacVim from command line with mvim.
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 […]
Today I wanted to use ruby gems behind a http proxy. First step to do, set the HTTP_PROXY environment variable: set HTTP_PROXY=http://user:password@proxy:port/ Then install your gem with parameters set: gem install <name here> –http-proxy –source http://rubygems.org