Skip to content

Instantly share code, notes, and snippets.

@bernardobarreto
Forked from paresharma/termux.sh
Created May 19, 2018 23:34
Show Gist options
  • Save bernardobarreto/1af5d05a7d96ca8cfc33d96bfef0bb9c to your computer and use it in GitHub Desktop.
Save bernardobarreto/1af5d05a7d96ca8cfc33d96bfef0bb9c to your computer and use it in GitHub Desktop.
Rails on Termux
apt update && apt upgrade
apt install ruby vim git nodejs
apt install ruby-dev libxml2-dev libxslt-dev pkg-config make clang
gem install nokogiri -- --use-system-libraries
apt install libsqlite-dev
gem install sqlite3
apt install libffi-dev
gem install rb-inotify
gem install ffi
apt install openssh
sshd
packages install postgresql postgresql-contrib postgresql-dev
gem install pg
initdb -D ~/postgres/
# pg_ctl -D /data/data/com.termux/files/home/postgres/ -l logfile start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment