square/maximum-awesome — pull request #54 by strongriley (2013-08-31 06:23:58+00:00)
Title: Rake fails with .vimrc exists?

I'm not sure how this happened.. but thought you guys would like to know. During my first attempt to execute rake, rake aborts after copying my existing .vimrc into vimrc.local. It succeeded after I removed the new, empty file at ~/.vimrc.

```shell
-- symlink ---------------------------------------------------------------------
mv /Users/kseelbach/.vim /Users/kseelbach/.vim.bak
ln -s /Users/kseelbach/Devel/libs/maximum-awesome/vim /Users/kseelbach/.vim
ln -s /Users/kseelbach/Devel/libs/maximum-awesome/tmux.conf /Users/kseelbach/.tmux.conf
ln -s /Users/kseelbach/Devel/libs/maximum-awesome/vimrc /Users/kseelbach/.vimrc
rake aborted!
File exists - (/Users/kseelbach/Devel/libs/maximum-awesome/vimrc, /Users/kseelbach/.vimrc)
/Users/kseelbach/Devel/libs/maximum-awesome/Rakefile:49:in `link_file'
/Users/kseelbach/Devel/libs/maximum-awesome/Rakefile:143:in `block in '
/Users/kseelbach/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `eval'
/Users/kseelbach/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `

'
Tasks: TOP => default
(See full trace by running task with --trace)
(py-env0)Kevins-MacBook-Pro:maximum-awesome kseelbach$ vim ~/.vimrc
(py-env0)Kevins-MacBook-Pro:maximum-awesome kseelbach$ rake

-- Homebrew --------------------------------------------------------------------

-- the_silver_searcher ---------------------------------------------------------

-- iterm2 ----------------------------------------------------------------------

-- ctags -----------------------------------------------------------------------

-- reattach-to-user-namespace --------------------------------------------------

-- tmux ------------------------------------------------------------------------

-- MacVim ----------------------------------------------------------------------

-- git submodules --------------------------------------------------------------
git submodule update --init

-- symlink ---------------------------------------------------------------------
ln -s /Users/kseelbach/Devel/libs/maximum-awesome/vimrc /Users/kseelbach/.vimrc
rake aborted!
File exists - (/Users/kseelbach/Devel/libs/maximum-awesome/vimrc, /Users/kseelbach/.vimrc)
/Users/kseelbach/Devel/libs/maximum-awesome/Rakefile:49:in `link_file'
/Users/kseelbach/Devel/libs/maximum-awesome/Rakefile:143:in `block in '
/Users/kseelbach/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `eval'
/Users/kseelbach/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `

'
Tasks: TOP => default
(See full trace by running task with --trace)
(py-env0)Kevins-MacBook-Pro:maximum-awesome kseelbach$ ls
total 64
-rw-rw-r-- 1 kseelbach staff 552 Aug 30 23:47 LICENSE
-rw-rw-r-- 1 kseelbach staff 2496 Aug 30 23:47 README.md
-rw-rw-r-- 1 kseelbach staff 4730 Aug 30 23:47 Rakefile
drwxrwxr-x 5 kseelbach staff 170 Aug 30 23:47 iterm2-colors-solarized
-rw-rw-r-- 1 kseelbach staff 2205 Aug 30 23:47 tmux.conf
drwxrwxr-x 5 kseelbach staff 170 Aug 30 23:52 vim
-rw-rw-r-- 1 kseelbach staff 4792 Aug 30 23:47 vimrc
-rw-rw-r-- 1 kseelbach staff 250 Aug 30 23:47 vimrc.local
(py-env0)Kevins-MacBook-Pro:maximum-awesome kseelbach$ vim vimrc.local
(py-env0)Kevins-MacBook-Pro:maximum-awesome kseelbach$ vim ~/.vimrc
.vimrc .vimrc.backup
(py-env0)Kevins-MacBook-Pro:maximum-awesome kseelbach$ vim ~/.vimrc
.vimrc .vimrc.backup
(py-env0)Kevins-MacBook-Pro:maximum-awesome kseelbach$ rm ~/.vimrc
(py-env0)Kevins-MacBook-Pro:maximum-awesome kseelbach$ rake

-- Homebrew --------------------------------------------------------------------

-- the_silver_searcher ---------------------------------------------------------

-- iterm2 ----------------------------------------------------------------------

-- ctags -----------------------------------------------------------------------

-- reattach-to-user-namespace --------------------------------------------------

-- tmux ------------------------------------------------------------------------

-- MacVim ----------------------------------------------------------------------

-- git submodules --------------------------------------------------------------
git submodule update --init

-- symlink ---------------------------------------------------------------------
ln -s /Users/kseelbach/Devel/libs/maximum-awesome/vimrc /Users/kseelbach/.vimrc
cp /Users/kseelbach/Devel/libs/maximum-awesome/vimrc.local /Users/kseelbach/.vimrc.local

-- iterm2 colorschemes ---------------------------------------------------------
open -a /Applications/iTerm.app /Users/kseelbach/Devel/libs/maximum-awesome/iterm2-colors-solarized/Solarized Light.itermcolors

-- iterm2 profiles -------------------------------------------------------------

Your turn!

Go and manually set up Solarized Light and Dark profiles in iTerm2.
.........
```