Skip to content

Instantly share code, notes, and snippets.

@johnbeynon
Created March 21, 2015 16:11
Show Gist options
  • Save johnbeynon/b687826ab82752bea863 to your computer and use it in GitHub Desktop.
Save johnbeynon/b687826ab82752bea863 to your computer and use it in GitHub Desktop.
▶ heroku run bin/setup
Running `bin/setup` attached to terminal... up, run.6178
Adding DATABASE_URL to .env
Adding RACK_ENV to .env
Adding TZ to .env
Adding RAISE_ERRORS to .env
Adding FORCE_SSL to .env
Adding TIMEOUT to .env
Adding PRETTY_JSON to .env
Using i18n 0.7.0
Using minitest 5.5.1
Using rake 10.4.2
Using thread_safe 0.3.5
Using json 1.8.2
Using backports 3.6.4
Using hitimes 1.2.2
Using coderay 1.1.0
Using http_accept 0.1.6
Using erubis 2.7.0
Using json_schema 0.5.0
Using multi_json 1.11.0
Using oj 2.12.1
Using sequel 4.20.0
Using method_source 0.8.2
Using pg 0.18.1
Using tilt 1.4.1
Using rack 1.6.0
Using thor 0.19.1
Using slop 3.6.0
Using bundler 1.7.12
Using timers 4.0.1
Using prmd 0.7.0
Using rollbar 1.4.4
Using tzinfo 1.2.2
Using rack-protection 1.5.3
Using sequel_pg 1.6.11
Using sequel-paranoid 0.6.0
Using rack-ssl 1.4.1
Using puma 2.11.1
Using rack-test 0.6.3
Using pry 0.10.1
Using activesupport 4.2.1
Using sinatra 1.4.5
Using sinatra-contrib 1.4.2
Using sinatra-router 0.2.3
Using celluloid 0.16.0
Using sucker_punch 1.4.0
Using pliny 0.7.3
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
rake aborted!
Sequel::DatabaseConnectionError: PG::ConnectionBad: FATAL: permission denied for database "postgres"
DETAIL: User does not have CONNECT privilege.
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/adapters/postgres.rb:236:in `initialize'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/adapters/postgres.rb:236:in `new'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/adapters/postgres.rb:236:in `connect'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool.rb:101:in `make_new'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:160:in `make_new'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:137:in `available'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:127:in `block in acquire'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:201:in `block in sync'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:201:in `synchronize'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:201:in `sync'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:126:in `acquire'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:88:in `hold'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:250:in `synchronize'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/adapters/postgres.rb:335:in `execute'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/database/query.rb:50:in `execute_dui'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/database/query.rb:43:in `execute_ddl'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/database/query.rb:76:in `run'
/app/vendor/bundle/ruby/2.2.0/gems/pliny-0.7.3/lib/pliny/tasks/db.rake:78:in `block (3 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.2.0/gems/pliny-0.7.3/lib/pliny/tasks/db.rake:75:in `each'
/app/vendor/bundle/ruby/2.2.0/gems/pliny-0.7.3/lib/pliny/tasks/db.rake:75:in `block (2 levels) in <top (required)>'
PG::ConnectionBad: FATAL: permission denied for database "postgres"
DETAIL: User does not have CONNECT privilege.
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/adapters/postgres.rb:236:in `initialize'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/adapters/postgres.rb:236:in `new'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/adapters/postgres.rb:236:in `connect'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool.rb:101:in `make_new'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:160:in `make_new'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:137:in `available'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:127:in `block in acquire'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:201:in `block in sync'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:201:in `synchronize'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:201:in `sync'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:126:in `acquire'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:88:in `hold'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:250:in `synchronize'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/adapters/postgres.rb:335:in `execute'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/database/query.rb:50:in `execute_dui'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/database/query.rb:43:in `execute_ddl'
/app/vendor/bundle/ruby/2.2.0/gems/sequel-4.20.0/lib/sequel/database/query.rb:76:in `run'
/app/vendor/bundle/ruby/2.2.0/gems/pliny-0.7.3/lib/pliny/tasks/db.rake:78:in `block (3 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.2.0/gems/pliny-0.7.3/lib/pliny/tasks/db.rake:75:in `each'
/app/vendor/bundle/ruby/2.2.0/gems/pliny-0.7.3/lib/pliny/tasks/db.rake:75:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:setup => db:drop
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment