Last active
July 6, 2023 13:50
-
-
Save naaman/2847793 to your computer and use it in GitHub Desktop.
vim on heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
mkdir vim | |
curl https://s3.amazonaws.com/heroku-vim/vim-7.3.tar.gz --location --silent | tar xz -C vim | |
export PATH=$PATH:/app/vim/bin |
cool, would be great if you compile with some basic options enabled like syntax highlighting, right on :syntax on
it return error because of broke path:
E484: Can't open file /app/vimbin/share/vim/syntax/syntax.vim
I built a static binary of vim and put it on the Ruby s3 bucket
mkdir -p vim/bin
curl https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-16/vim.tgz --location --silent | tar xz -C vim/bin
export PATH=$PATH:/app/vim/bin
cc/ @naaman
~ $ vim/bin/vim -h
vim/bin/vim: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory
I run the script in heroku and get this error, It seems that we lack some share library in heroku's container. @naaman
I made a heroku vim plugin that works with the heroku-16 stack:
https://github.com/jasonheecs/heroku-vim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
so cool implementation, thanks!