Skip to content

Instantly share code, notes, and snippets.

@ejschmitt
Created September 26, 2012 20:16
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ejschmitt/3790307 to your computer and use it in GitHub Desktop.
Save ejschmitt/3790307 to your computer and use it in GitHub Desktop.
Install vim on heroku
cd /tmp && curl -O ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 && bunzip2 -c vim-7.3.tar.bz2 | tar -xf - && cd vim73 && ./configure --prefix=/tmp && make install && echo PATH='$PATH:/tmp/bin/' > path && source path
@foca
Copy link

foca commented Sep 26, 2012

why not export PATH='$PATH:/tmp/bin' instead of creating the script and sourcing it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment