Skip to content

Instantly share code, notes, and snippets.

@faissaloo
Forked from paresharma/termux.sh
Last active July 10, 2018 16:57
Show Gist options
  • Save faissaloo/f7a2304c29a7aa3eaa2a84d3ffb1e1a3 to your computer and use it in GitHub Desktop.
Save faissaloo/f7a2304c29a7aa3eaa2a84d3ffb1e1a3 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