Skip to content

Instantly share code, notes, and snippets.

@yogin
Last active December 14, 2015 23:39
Show Gist options
  • Save yogin/5167410 to your computer and use it in GitHub Desktop.
Save yogin/5167410 to your computer and use it in GitHub Desktop.
Environment setup
# installing Homebrew, and some common packages
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
$ brew update
$ brew tap homebrew/dupes
$ brew install apple-gcc42 wget curl git ack ctags-exuberant
# installing rvm and ruby
$ curl -L get.rvm.io | bash -s stable
# add the following lines to the shell
export PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
source $HOME/.rvm/scripts/rvm
$ rvm install 1.9.3
$ rvm use 1.9.3 --default
# Downloading and installing Vim
$ curl ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 | tar xj
$ cd vim73
$ ./configure --with-features=huge --enable-perlinterp=yes --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-multibyte
# edit file src/auto/config.mk, and update LDFLAGS to include: '-L/Users/<user>/.rvm/rubies/default/lib'
$ make
$ sudo make install
# Finally, configure Vim: https://github.com/yogin/idz-vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment