Skip to content

Instantly share code, notes, and snippets.

@buncis
Created February 9, 2019 14:30
Show Gist options
  • Save buncis/92b9f60a75a9bf93c966a621f7400055 to your computer and use it in GitHub Desktop.
Save buncis/92b9f60a75a9bf93c966a621f7400055 to your computer and use it in GitHub Desktop.
ruby on rails in bash on ubuntu
cd /mnt/$yourdrivealphabet
default: &default
adapter: postgresql
encoding: unicode
# For details on connection pooling, see Rails configuration guide
# http://guides.rubyonrails.org/configuring.html#database-pooling
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
username: username in postgres windows
password: pass in postgres windows
port: 5432
host: localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment