Skip to content

Instantly share code, notes, and snippets.

@btakita
Forked from sfate/vim-on-heroku.sh
Created December 8, 2013 05:05
Show Gist options
  • Save btakita/7853541 to your computer and use it in GitHub Desktop.
Save btakita/7853541 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
curl https://s3.amazonaws.com/heroku-jvm-buildpack-vi/vim-7.3.tar.gz --output vim.tar.gz
mkdir vim && tar xzvf vim.tar.gz -C vim
export PATH=$PATH:/app/vim/bin
@arpankotecha
Copy link

I get the same error as above:
vim: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory

@kumarbhushan
Copy link

same

@Golit
Copy link

Golit commented May 21, 2018

You can use busybox-static to run vi. I wrote a script to download busybox from the alpinelinux repository.

@foladipo
Copy link

foladipo commented Jul 9, 2018

👍
Thanks!
I wonder why Heroku didn't add as basic an editor as Vim in the first place.

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