Postgresql just annoys me

I never seem to have any real joy from setting up Postgres.

Report bugs to <pgsql-bugs@postgresql.org>.
rails@li517-27:/var/www/mini-epic/current$ psql -U epic
psql: FATAL:  Peer authentication failed for user "epic"
rails@li517-27:/var/www/mini-epic/current$ sudo -u postgres psql
psql (9.4.18)
Type "help" for help.

postgres=# password epic
postgres-# 
postgres-# \q
rails@li517-27:/var/www/mini-epic/current$ sudo -u postgres psql
psql (9.4.18)
Type "help" for help.

postgres=# password epic epic
postgres-# ;
ERROR:  syntax error at or near "password"
LINE 1: password epic epic
        ^
postgres=# \password epic epic
;
Enter new password: 
Enter it again: 
Passwords didn't match.
postgres=# \password epic
Enter new password: 
Enter it again: 
postgres=# \q
rails@li517-27:/var/www/mini-epic/current$ psql -U epic -P epic
\pset: unknown option: epic
psql: could not set printing parameter "epic"
rails@li517-27:/var/www/mini-epic/current$ psql -U epic -Pepic
\pset: unknown option: epic
psql: could not set printing parameter "epic"
rails@li517-27:/var/www/mini-epic/current$ psql --help
psql is the PostgreSQL interactive terminal.

Usage:
  psql [OPTION]... [DBNAME [USERNAME]]

General options:
  -c, --command=COMMAND    run only single command (SQL or internal) and exit
  -d, --dbname=DBNAME      database name to connect to (default: "rails")
  -f, --file=FILENAME      execute commands from file, then exit
  -l, --list               list available databases, then exit
  -v, --set=, --variable=NAME=VALUE
                           set psql variable NAME to VALUE
  -V, --version            output version information, then exit
  -X, --no-psqlrc          do not read startup file (~/.psqlrc)
  -1 ("one"), --single-transaction
                           execute as a single transaction (if non-interactive)
  -?, --help               show this help, then exit

Input and output options:
  -a, --echo-all           echo all input from script
  -e, --echo-queries       echo commands sent to server
  -E, --echo-hidden        display queries that internal commands generate
  -L, --log-file=FILENAME  send session log to file
  -n, --no-readline        disable enhanced command line editing (readline)
  -o, --output=FILENAME    send query results to file (or |pipe)
  -q, --quiet              run quietly (no messages, only query output)
  -s, --single-step        single-step mode (confirm each query)
  -S, --single-line        single-line mode (end of line terminates SQL command)

Output format options:
  -A, --no-align           unaligned table output mode
  -F, --field-separator=STRING
                           field separator for unaligned output (default: "|")
  -H, --html               HTML table output mode
  -P, --pset=VAR[=ARG]     set printing option VAR to ARG (see \pset command)
  -R, --record-separator=STRING
                           record separator for unaligned output (default: newline)
  -t, --tuples-only        print rows only
  -T, --table-attr=TEXT    set HTML table tag attributes (e.g., width, border)
  -x, --expanded           turn on expanded table output
  -z, --field-separator-zero
                           set field separator for unaligned output to zero byte
  -0, --record-separator-zero
                           set record separator for unaligned output to zero byte

Connection options:
  -h, --host=HOSTNAME      database server host or socket directory (default: "/var/run/postgresql")
  -p, --port=PORT          database server port (default: "5432")
  -U, --username=USERNAME  database user name (default: "rails")
  -w, --no-password        never prompt for password
  -W, --password           force password prompt (should happen automatically)

For more information, type "\?" (for internal commands) or "\help" (for SQL
commands) from within psql, or consult the psql section in the PostgreSQL
documentation.

Report bugs to <pgsql-bugs@postgresql.org>.
rails@li517-27:/var/www/mini-epic/current$ psql -U epic -W epic
Password for user epic: 
rails@li517-27:/var/www/mini-epic/current$ psql -U epic -W
Password for user epic: 
psql: FATAL:  Peer authentication failed for user "epic"
rails@li517-27:/var/www/mini-epic/current$ psql -U epic -W
Password for user epic: 
psql: FATAL:  Peer authentication failed for user "epic"
rails@li517-27:/var/www/mini-epic/current$ vi /etc/postgresql/9.4/main/
environment      pg_ctl.conf      pg_hba.conf      pg_ident.conf    postgresql.conf  start.conf
rails@li517-27:/var/www/mini-epic/current$ vi /etc/postgresql/9.4/main/pg_hba.conf 
rails@li517-27:/var/www/mini-epic/current$ sudo vi /etc/postgresql/9.4/main/pg_hba.conf 
rails@li517-27:/var/www/mini-epic/current$ /etc/init.d/postgresql restart
[....] Restarting postgresql (via systemctl): postgresql.serviceFailed to restart postgresql.service: Access denied
 failed!
rails@li517-27:/var/www/mini-epic/current$ sudo /etc/init.d/postgresql restart
[....] Restarting postgresql (via systemctl): postgresql.service
. ok 
rails@li517-27:/var/www/mini-epic/current$ 
rails@li517-27:/var/www/mini-epic/current$ psql -U epic -W
Password for user epic: 
psql: FATAL:  Peer authentication failed for user "epic"
rails@li517-27:/var/www/mini-epic/current$ sudo vi /etc/postgresql/9.4/main/pg_hba.conf 
rails@li517-27:/var/www/mini-epic/current$ sudo /etc/init.d/postgresql restart
[ ok ] Restarting postgresql (via systemctl): postgresql.service.
rails@li517-27:/var/www/mini-epic/current$ psql -U epic -W
Password for user epic: 
psql: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
rails@li517-27:/var/www/mini-epic/current$ sudo vi /etc/postgresql/9.4/main/pg_hba.conf 
rails@li517-27:/var/www/mini-epic/current$ sudo /etc/init.d/postgresql restart
[ ok ] Restarting postgresql (via systemctl): postgresql.service.
rails@li517-27:/var/www/mini-epic/current$ psql -U epic -W
Password for user epic: 
psql (9.4.18)
Type "help" for help.
rails@li517-27:/var/www/mini-epic/current$ bundle install
Fetching gem metadata from https://rubygems.org/........
Using rake 10.5.0
Using CFPropertyList 2.3.1
Using concurrent-ruby 1.1.3
Using aasm 4.12.0
Using i18n 0.8.6
Using json 1.8.6
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Using activesupport 4.2.1
Using builder 3.2.3
Using erubis 2.7.0
Using mini_portile2 2.3.0
Using nokogiri 1.8.5
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.9
Using crass 1.0.4
Using loofah 2.2.3
Using rails-html-sanitizer 1.0.4
Using actionview 4.2.1
Using rack 1.6.11
Using rack-test 0.6.3
Using actionpack 4.2.1
Using globalid 0.4.1
Using activejob 4.2.1
Using mime-types 2.99.3
Using mail 2.6.3
Using actionmailer 4.2.1
Using activemodel 4.2.1
Using arel 6.0.4
Using activerecord 4.2.1
Using addressable 2.3.8
Using extlib 0.9.16
Using multi_json 1.11.0
Using autoparse 0.3.3
Using json_pure 1.8.3
Using jmespath 1.2.4
Using aws-sdk-core 2.3.18
Using aws-sdk-resources 2.3.18
Using aws-sdk 2.3.18
Using xml-simple 1.1.5
Using aws-ses 0.6.0
Using multipart-post 2.0.0
Using faraday 0.9.2
Using ffi 1.9.18
Using ethon 0.10.1
Using typhoeus 1.3.0
Using aychttp 0.1.0 from https://github.com/braindeaf/aychttp (at master@8b14ea4)
Using bcrypt 3.1.7
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using rb-fsevent 0.9.8
Using rb-inotify 0.9.8
Using sass-listen 4.0.0
Using sass 3.7.2
Using thor 0.20.3
Using bourbon 3.2.4
Using browser 2.2.0
Using bugsnag 4.0.0
Using bundler 1.16.6
Using cancancan 1.9.1
Using highline 1.7.2
Using net-ssh 2.9.2
Using net-scp 1.2.1
Using net-sftp 2.1.2
Using net-ssh-gateway 1.2.0
Using capistrano 2.15.5
Using xpath 2.0.0
Using capybara 2.10.1
Using carrierwave 0.10.0
Using excon 0.45.3
Using formatador 0.2.5
Using fog-core 1.30.0
Using fog-xml 0.1.2
Using fog-atmos 0.1.0
Using fog-json 1.0.1
Using ipaddress 0.8.0
Using fog-aws 0.3.0
Using inflecto 0.0.2
Using fog-brightbox 0.7.1
Using fog-ecloud 0.1.1
Using fog-google 0.0.5
Using fog-local 0.2.1
Using fog-powerdns 0.1.1
Using fog-profitbricks 0.0.2
Using fog-radosgw 0.0.4
Using fog-riakcs 0.1.0
Using fog-sakuracloud 1.0.1
Using fog-serverlove 0.1.2
Using fog-softlayer 0.4.6
Using fog-storm_on_demand 0.1.1
Using fog-terremark 0.1.0
Using fission 0.5.0
Using fog-vmfusion 0.1.0
Using fog-voxel 0.1.0
Using fog 1.30.0
Using uuidtools 2.1.5
Using carrierwave_direct 0.0.15
Using childprocess 0.9.0
Using chronic 0.10.2
Using climate_control 0.1.0
Using cocaine 0.5.8
Using coderay 1.1.0
Using coffee-script-source 1.12.2
Using execjs 2.5.2
Using coffee-script 2.4.1
Using css_parser 1.6.0
Using daemons 1.2.4
Using database_cleaner 1.4.1
Using delayed_job 4.1.2
Using delayed_job_active_record 4.1.1
Using orm_adapter 0.5.0
Using railties 4.2.1
Using responders 2.4.0
Using warden 1.2.7
Using devise 4.4.1
Using devise-async 0.10.1 from https://github.com/klacointe/devise-async (at devise4@f7a34c3)
Using diff-lcs 1.2.5
Using docile 1.1.5
Using unf_ext 0.0.7.1
Using unf 0.1.4
Using domain_name 0.5.24
Using enum_help 0.0.14
Using exception_notification 4.2.1
Using factory_girl 4.5.0
Using factory_girl_rails 4.5.0
Using font-awesome-rails 4.7.0.4
Using jwt 1.5.1
Using little-plugger 1.1.4
Using logging 2.1.0
Using memoist 0.14.0
Using os 0.9.6
Using signet 0.7.2
Using googleauth 0.5.1
Using launchy 2.4.3
Using retriable 1.4.1
Using google-api-client 0.8.6
Using oauth 0.5.1
Using multi_xml 0.5.5
Using oauth2 1.1.0
Using google_drive 1.0.6
Using listen 3.1.1
Using lumberjack 1.0.11
Using nenv 0.3.0
Using shellany 0.0.1
Using notiffany 0.1.1
Using method_source 0.8.2
Using slop 3.6.0
Using pry 0.10.1
Using guard 2.14.1
Using guard-compat 1.2.1
Using rspec-support 3.2.2
Using rspec-core 3.2.3
Using rspec-expectations 3.2.1
Using rspec-mocks 3.2.1
Using rspec 3.2.0
Using guard-rspec 4.7.3
Using temple 0.8.0
Using tilt 2.0.8
Using haml 5.0.1
Using high_voltage 3.0.0
Using htmlentities 4.3.4
Using http-cookie 1.0.2
Using icalendar 2.3.0
Using interactor 3.1.0
Using intercom-rails 0.3.5
Using jbuilder 2.2.13
Using jquery-fileupload-rails 0.4.5
Using jquery-rails 4.0.3
Using jquery-infinite-pages 0.2.0
Using kaminari-core 1.0.1
Using kaminari-actionview 1.0.1
Using kaminari-activerecord 1.0.1
Using kaminari 1.0.1
Using letter_opener 1.3.0
Using mimemagic 0.3.2
Using subexec 0.2.3
Using mini_magick 3.7.0
Using sixarm_ruby_unaccent 1.1.1
Using money 6.8.2
Using monetize 1.6.0
Using money-rails 1.8.0
Using netrc 0.10.3
Using paperclip 5.1.0
Fetching pg 0.19.0
Installing pg 0.19.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /home/rails/.rvm/gems/ruby-2.2.2@epic-invite/gems/pg-0.19.0/ext
/home/rails/.rvm/rubies/ruby-2.2.2/bin/ruby -r ./siteconf20190301-25677-6k9l3v.rb extconf.rb
checking for pg_config... yes
Using config values from /usr/bin/pg_config
You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for
building a client-side application.
You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for
building a client-side application.
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/home/rails/.rvm/rubies/ruby-2.2.2/bin/$(RUBY_BASE_NAME)
	--with-pg
	--without-pg
	--enable-windows-cross
	--disable-windows-cross
	--with-pg-config
	--without-pg-config
	--with-pg_config
	--without-pg_config
	--with-pg-dir
	--without-pg-dir
	--with-pg-include
	--without-pg-include=${pg-dir}/include
	--with-pg-lib
	--without-pg-lib=${pg-dir}/lib

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /home/rails/.rvm/gems/ruby-2.2.2@epic-invite/extensions/x86_64-linux/2.2.0/pg-0.19.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /home/rails/.rvm/gems/ruby-2.2.2@epic-invite/gems/pg-0.19.0 for
inspection.
Results logged to
/home/rails/.rvm/gems/ruby-2.2.2@epic-invite/extensions/x86_64-linux/2.2.0/pg-0.19.0/gem_make.out

An error occurred while installing pg (0.19.0), and Bundler cannot continue.
Make sure that `gem install pg -v '0.19.0' --source 'https://rubygems.org/'` succeeds before bundling.

https://stackoverflow.com/questions/6040583/cant-find-the-libpq-fe-h-header-when-trying-to-install-pg-gem":https://stackoverflow.com/questions/6040583/cant-find-the-libpq-fe-h-header-when-trying-to-install-pg-gem

rails@li517-27:/var/www/mini-epic/current$ sudo apt-get install libpq-dev
[sudo] password for rails: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  nginx-full
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  comerr-dev krb5-multidev libgssrpc4 libkadm5clnt-mit9 libkadm5srv-mit9 libkdb5-7
Suggested packages:
  doc-base krb5-doc krb5-user postgresql-doc-9.4
The following NEW packages will be installed:
  comerr-dev krb5-multidev libgssrpc4 libkadm5clnt-mit9 libkadm5srv-mit9 libkdb5-7 libpq-dev
0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
Need to get 658 kB of archives.
After this operation, 2,552 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrors.linode.com/debian/ jessie/main libgssrpc4 amd64 1.12.1+dfsg-19+deb8u4 [86.5 kB]
Get:2 http://mirrors.linode.com/debian/ jessie/main libkadm5clnt-mit9 amd64 1.12.1+dfsg-19+deb8u4 [68.8 kB]
Get:3 http://mirrors.linode.com/debian/ jessie/main libkdb5-7 amd64 1.12.1+dfsg-19+deb8u4 [68.9 kB]
Get:4 http://mirrors.linode.com/debian/ jessie/main libkadm5srv-mit9 amd64 1.12.1+dfsg-19+deb8u4 [83.4 kB]
Get:5 http://mirrors.linode.com/debian/ jessie/main comerr-dev amd64 2.1-1.42.12-2+b1 [38.3 kB]
Get:6 http://mirrors.linode.com/debian/ jessie/main krb5-multidev amd64 1.12.1+dfsg-19+deb8u4 [145 kB]
Get:7 http://mirrors.linode.com/debian/ jessie/main libpq-dev amd64 9.4.18-0+deb8u1 [167 kB]
Fetched 658 kB in 0s (2,449 kB/s)
Selecting previously unselected package libgssrpc4:amd64.
(Reading database ... 45080 files and directories currently installed.)
Preparing to unpack .../libgssrpc4_1.12.1+dfsg-19+deb8u4_amd64.deb ...
Unpacking libgssrpc4:amd64 (1.12.1+dfsg-19+deb8u4) ...
Selecting previously unselected package libkadm5clnt-mit9:amd64.
Preparing to unpack .../libkadm5clnt-mit9_1.12.1+dfsg-19+deb8u4_amd64.deb ...
Unpacking libkadm5clnt-mit9:amd64 (1.12.1+dfsg-19+deb8u4) ...
Selecting previously unselected package libkdb5-7:amd64.
Preparing to unpack .../libkdb5-7_1.12.1+dfsg-19+deb8u4_amd64.deb ...
Unpacking libkdb5-7:amd64 (1.12.1+dfsg-19+deb8u4) ...
Selecting previously unselected package libkadm5srv-mit9:amd64.
Preparing to unpack .../libkadm5srv-mit9_1.12.1+dfsg-19+deb8u4_amd64.deb ...
Unpacking libkadm5srv-mit9:amd64 (1.12.1+dfsg-19+deb8u4) ...
Selecting previously unselected package comerr-dev.
Preparing to unpack .../comerr-dev_2.1-1.42.12-2+b1_amd64.deb ...
Unpacking comerr-dev (2.1-1.42.12-2+b1) ...
Selecting previously unselected package krb5-multidev.
Preparing to unpack .../krb5-multidev_1.12.1+dfsg-19+deb8u4_amd64.deb ...
Unpacking krb5-multidev (1.12.1+dfsg-19+deb8u4) ...
Selecting previously unselected package libpq-dev.
Preparing to unpack .../libpq-dev_9.4.18-0+deb8u1_amd64.deb ...
Unpacking libpq-dev (9.4.18-0+deb8u1) ...
Processing triggers for install-info (5.2.0.dfsg.1-6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libgssrpc4:amd64 (1.12.1+dfsg-19+deb8u4) ...
Setting up libkadm5clnt-mit9:amd64 (1.12.1+dfsg-19+deb8u4) ...
Setting up libkdb5-7:amd64 (1.12.1+dfsg-19+deb8u4) ...
Setting up libkadm5srv-mit9:amd64 (1.12.1+dfsg-19+deb8u4) ...
Setting up comerr-dev (2.1-1.42.12-2+b1) ...
Setting up krb5-multidev (1.12.1+dfsg-19+deb8u4) ...
Setting up libpq-dev (9.4.18-0+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
rails@li517-27:/var/www/mini-epic/current$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Using rake 10.5.0
Using CFPropertyList 2.3.1
Using concurrent-ruby 1.1.3
Using aasm 4.12.0
Using i18n 0.8.6
Using json 1.8.6
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Using activesupport 4.2.1
Using builder 3.2.3
Using erubis 2.7.0
Using mini_portile2 2.3.0
Using nokogiri 1.8.5
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.9
Using crass 1.0.4
Using loofah 2.2.3
Using rails-html-sanitizer 1.0.4
Using actionview 4.2.1
Using rack 1.6.11
Using rack-test 0.6.3
Using actionpack 4.2.1
Using globalid 0.4.1
Using activejob 4.2.1
Using mime-types 2.99.3
Using mail 2.6.3
Using actionmailer 4.2.1
Using activemodel 4.2.1
Using arel 6.0.4
Using activerecord 4.2.1
Using addressable 2.3.8
Using extlib 0.9.16
Using multi_json 1.11.0
Using autoparse 0.3.3
Using json_pure 1.8.3
Using jmespath 1.2.4
Using aws-sdk-core 2.3.18
Using aws-sdk-resources 2.3.18
Using aws-sdk 2.3.18
Using xml-simple 1.1.5
Using aws-ses 0.6.0
Using multipart-post 2.0.0
Using faraday 0.9.2
Using ffi 1.9.18
Using ethon 0.10.1
Using typhoeus 1.3.0
Using aychttp 0.1.0 from https://github.com/braindeaf/aychttp (at master@8b14ea4)
Using bcrypt 3.1.7
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using rb-fsevent 0.9.8
Using rb-inotify 0.9.8
Using sass-listen 4.0.0
Using sass 3.7.2
Using thor 0.20.3
Using bourbon 3.2.4
Using browser 2.2.0
Using bugsnag 4.0.0
Using bundler 1.16.6
Using cancancan 1.9.1
Using highline 1.7.2
Using net-ssh 2.9.2
Using net-scp 1.2.1
Using net-sftp 2.1.2
Using net-ssh-gateway 1.2.0
Using capistrano 2.15.5
Using xpath 2.0.0
Using capybara 2.10.1
Using carrierwave 0.10.0
Using excon 0.45.3
Using formatador 0.2.5
Using fog-core 1.30.0
Using fog-xml 0.1.2
Using fog-atmos 0.1.0
Using fog-json 1.0.1
Using ipaddress 0.8.0
Using fog-aws 0.3.0
Using inflecto 0.0.2
Using fog-brightbox 0.7.1
Using fog-ecloud 0.1.1
Using fog-google 0.0.5
Using fog-local 0.2.1
Using fog-powerdns 0.1.1
Using fog-profitbricks 0.0.2
Using fog-radosgw 0.0.4
Using fog-riakcs 0.1.0
Using fog-sakuracloud 1.0.1
Using fog-serverlove 0.1.2
Using fog-softlayer 0.4.6
Using fog-storm_on_demand 0.1.1
Using fog-terremark 0.1.0
Using fission 0.5.0
Using fog-vmfusion 0.1.0
Using fog-voxel 0.1.0
Using fog 1.30.0
Using uuidtools 2.1.5
Using carrierwave_direct 0.0.15
Using childprocess 0.9.0
Using chronic 0.10.2
Using climate_control 0.1.0
Using cocaine 0.5.8
Using coderay 1.1.0
Using coffee-script-source 1.12.2
Using execjs 2.5.2
Using coffee-script 2.4.1
Using css_parser 1.6.0
Using daemons 1.2.4
Using database_cleaner 1.4.1
Using delayed_job 4.1.2
Using delayed_job_active_record 4.1.1
Using orm_adapter 0.5.0
Using railties 4.2.1
Using responders 2.4.0
Using warden 1.2.7
Using devise 4.4.1
Using devise-async 0.10.1 from https://github.com/klacointe/devise-async (at devise4@f7a34c3)
Using diff-lcs 1.2.5
Using docile 1.1.5
Using unf_ext 0.0.7.1
Using unf 0.1.4
Using domain_name 0.5.24
Using enum_help 0.0.14
Using exception_notification 4.2.1
Using factory_girl 4.5.0
Using factory_girl_rails 4.5.0
Using font-awesome-rails 4.7.0.4
Using jwt 1.5.1
Using little-plugger 1.1.4
Using logging 2.1.0
Using memoist 0.14.0
Using os 0.9.6
Using signet 0.7.2
Using googleauth 0.5.1
Using launchy 2.4.3
Using retriable 1.4.1
Using google-api-client 0.8.6
Using oauth 0.5.1
Using multi_xml 0.5.5
Using oauth2 1.1.0
Using google_drive 1.0.6
Using listen 3.1.1
Using lumberjack 1.0.11
Using nenv 0.3.0
Using shellany 0.0.1
Using notiffany 0.1.1
Using method_source 0.8.2
Using slop 3.6.0
Using pry 0.10.1
Using guard 2.14.1
Using guard-compat 1.2.1
Using rspec-support 3.2.2
Using rspec-core 3.2.3
Using rspec-expectations 3.2.1
Using rspec-mocks 3.2.1
Using rspec 3.2.0
Using guard-rspec 4.7.3
Using temple 0.8.0
Using tilt 2.0.8
Using haml 5.0.1
Using high_voltage 3.0.0
Using htmlentities 4.3.4
Using http-cookie 1.0.2
Using icalendar 2.3.0
Using interactor 3.1.0
Using intercom-rails 0.3.5
Using jbuilder 2.2.13
Using jquery-fileupload-rails 0.4.5
Using jquery-rails 4.0.3
Using jquery-infinite-pages 0.2.0
Using kaminari-core 1.0.1
Using kaminari-actionview 1.0.1
Using kaminari-activerecord 1.0.1
Using kaminari 1.0.1
Using letter_opener 1.3.0
Using mimemagic 0.3.2
Using subexec 0.2.3
Using mini_magick 3.7.0
Using sixarm_ruby_unaccent 1.1.1
Using money 6.8.2
Using monetize 1.6.0
Using money-rails 1.8.0
Using netrc 0.10.3
Using paperclip 5.1.0
Fetching pg 0.19.0
Installing pg 0.19.0 with native extensions
Fetching postageapp 1.3.1
Installing postageapp 1.3.1
Fetching premailer 1.11.1
Installing premailer 1.11.1
Fetching premailer-rails 1.10.1
Installing premailer-rails 1.10.1
Fetching pry-rails 0.3.4
Installing pry-rails 0.3.4
Fetching puma 3.6.0
Installing puma 3.6.0 with native extensions
Fetching quiet_assets 1.1.0
Installing quiet_assets 1.1.0
Fetching sprockets 3.7.2
Installing sprockets 3.7.2
Fetching sprockets-rails 3.2.1
Installing sprockets-rails 3.2.1
Fetching rails 4.2.1
Installing rails 4.2.1
Using rdoc 4.2.0
Fetching remotipart 1.2.1
Installing remotipart 1.2.1
Fetching rest-client 1.8.0
Installing rest-client 1.8.0
Fetching rspec-rails 3.2.1
Installing rspec-rails 3.2.1
Fetching rubyzip 1.2.2
Installing rubyzip 1.2.2
Fetching sass-rails 5.0.7
Installing sass-rails 5.0.7
Fetching sdoc 0.4.1
Installing sdoc 0.4.1
Fetching selenium-webdriver 3.141.0
Installing selenium-webdriver 3.141.0
Fetching shoulda-matchers 2.8.0
Installing shoulda-matchers 2.8.0
Fetching simple_form 3.1.1
Installing simple_form 3.1.1
Fetching simplecov-html 0.10.0
Installing simplecov-html 0.10.0
Fetching simplecov 0.10.0
Installing simplecov 0.10.0
Fetching sitemap_generator 5.1.0
Installing sitemap_generator 5.1.0
Fetching sqlite3 1.3.13
Installing sqlite3 1.3.13 with native extensions
Using stripe 1.21.0 from https://github.com/stripe/stripe-ruby (at master@8ba1a0e)
Fetching time_splitter 1.1.0
Installing time_splitter 1.1.0
Fetching timecop 0.7.3
Installing timecop 0.7.3
Fetching uglifier 2.7.1
Installing uglifier 2.7.1
Fetching valid_email 0.0.11
Installing valid_email 0.0.11
Using wck 0.0.5 from source at `vendor/gems/wck-0.0.5`
Fetching whenever 0.9.4
Installing whenever 0.9.4
Fetching zencoder 2.5.1
Installing zencoder 2.5.1
Bundle complete! 67 Gemfile dependencies, 216 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from sitemap_generator:
NOTE: SitemapGenerator 4.x uses a new file naming scheme which is more standards-compliant.
If you're upgrading from 3.x, please see the release note in the README:

https://github.com/kjvarga/sitemap_generator#important-changes-in-version-4

The simple answer is that your index file is now called sitemap.xml.gz
and not sitemap_index.xml.gz, but please take a look and see what else has changed.