Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save malachaifrazier/3de2b9e94f9faa4a8526ef247e256d26 to your computer and use it in GitHub Desktop.
Save malachaifrazier/3de2b9e94f9faa4a8526ef247e256d26 to your computer and use it in GitHub Desktop.
`bin/setup` failed on fresh install
➜ railsdevs.com git:(local) bin/setup
== Installing dependencies ==
https://github.com/Shopify/erb-lint.git is not yet checked out. Run `bundle install` first.
Bundler 2.3.12 is running, but your lockfile was generated with 2.3.4. Installing Bundler 2.3.4 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.3.4
Installing bundler 2.3.4
Fetching gem metadata from https://rubygems.org/.........
Fetching https://github.com/Shopify/erb-lint.git
Fetching https://github.com/pay-rails/pay.git
Using rake 13.0.6
Using minitest 5.15.0
Fetching erubi 1.10.0
Using racc 1.6.0
Using builder 3.2.4
Using concurrent-ruby 1.1.10
Using digest 3.1.0
Using timeout 0.2.0
Using strscan 3.0.1
Fetching crass 1.0.6
Fetching nio4r 2.5.8
Fetching public_suffix 4.0.6
Using rack 2.2.3
Fetching ansi 1.5.0
Fetching websocket-extensions 0.1.5
Fetching marcel 1.0.2
Using mini_mime 1.1.2
Fetching ast 2.4.2
Installing erubi 1.10.0
Installing crass 1.0.6
Installing websocket-extensions 0.1.5
Installing ast 2.4.2
Installing public_suffix 4.0.6
Using redcarpet 3.5.1
Fetching gemoji 4.0.0.rc3
Fetching rinku 2.0.6
Installing marcel 1.0.2
Fetching aws-eventstream 1.2.0
Installing ansi 1.5.0
Fetching aws-partitions 1.519.0
Installing nio4r 2.5.8 with native extensions
Fetching jmespath 1.4.0
Installing aws-eventstream 1.2.0
Fetching bcrypt 3.1.16
Installing rinku 2.0.6 with native extensions
Installing jmespath 1.4.0
Installing gemoji 4.0.0.rc3
Installing aws-partitions 1.519.0
Fetching html_tokenizer 0.0.7
Fetching smart_properties 1.17.0
Using bundler 2.3.4
Using matrix 0.4.2
Fetching regexp_parser 2.2.0
Installing bcrypt 3.1.16 with native extensions
Using childprocess 4.1.0
Using method_source 1.0.0
Using thor 1.2.1
Using zeitwerk 2.5.4
Using coderay 1.1.3
Fetching connection_pool 2.2.5
Installing html_tokenizer 0.0.7 with native extensions
Using rexml 3.2.5
Fetching orm_adapter 0.5.0
Installing smart_properties 1.17.0
Installing connection_pool 2.2.5
Installing orm_adapter 0.5.0
Installing regexp_parser 2.2.0
Fetching unf_ext 0.0.8
Fetching rainbow 3.1.1
Fetching parallel 1.21.0
Installing parallel 1.21.0
Installing rainbow 3.1.1
Fetching ruby-progressbar 1.11.0
Installing unf_ext 0.0.8 with native extensions
Fetching unicode-display_width 2.1.0
Installing ruby-progressbar 1.11.0
Installing unicode-display_width 2.1.0
Using faraday-em_http 1.0.0
Using faraday-em_synchrony 1.0.0
Using faraday-excon 1.1.0
Using faraday-httpclient 1.0.1
Using multipart-post 2.1.1
Using faraday-net_http 1.0.1
Using faraday-net_http_persistent 1.2.0
Using faraday-patron 1.0.0
Using faraday-rack 1.0.0
Using faraday-retry 1.0.3
Using ruby2_keywords 0.0.5
Fetching ffi 1.15.4
Fetching geocoder 1.7.3
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Using highline 2.0.3
Fetching honeybadger 4.9.0
Installing ffi 1.15.4 with native extensions
Installing geocoder 1.7.3
Installing honeybadger 4.9.0
Fetching rb-fsevent 0.11.0
Fetching http-form_data 2.3.0
Installing rb-fsevent 0.11.0
Installing http-form_data 2.3.0
Using json 2.6.1
Fetching pagy 5.2.0
Fetching pg 1.2.3
Installing pagy 5.2.0
Installing pg 1.2.3 with native extensions
Fetching redis 4.5.1
Installing redis 4.5.1
Fetching rubyzip 2.3.2
Installing rubyzip 2.3.2
Fetching stripe 5.42.0
Installing stripe 5.42.0
Fetching timezone_finder 1.5.7
Installing timezone_finder 1.5.7
Fetching nokogiri 1.13.6 (x86_64-darwin)
Installing nokogiri 1.13.6 (x86_64-darwin)
Using i18n 1.10.0
Using tzinfo 2.0.4
Fetching net-protocol 0.1.3
Installing net-protocol 0.1.3
Fetching sitemap_generator 6.1.2
Installing sitemap_generator 6.1.2
Using rack-test 1.1.0
Fetching warden 1.2.9
Installing warden 1.2.9
Fetching sprockets 4.0.2
Installing sprockets 4.0.2
Fetching mail 2.7.1
Installing mail 2.7.1
Fetching websocket-driver 0.7.5
Installing websocket-driver 0.7.5 with native extensions
Fetching parser 3.1.2.0
Installing parser 3.1.2.0
Fetching aws-sigv4 1.4.0
Installing aws-sigv4 1.4.0
Using addressable 2.8.0
Using pry 0.14.1
Fetching crack 0.4.5
Using faraday-multipart 1.0.3
Fetching terminal-table 3.0.2
Fetching minitest-reporters 1.5.0
Installing crack 0.4.5
Fetching postmark 1.22.0
Installing terminal-table 3.0.2
Installing postmark 1.22.0
Fetching sidekiq 6.4.0
Installing minitest-reporters 1.5.0
Fetching selenium-webdriver 4.1.0
Fetching loofah 2.17.0
Installing sidekiq 6.4.0
Using xpath 3.2.0
Fetching faker 2.20.0
Installing loofah 2.17.0
Fetching activesupport 7.0.2.4
Installing selenium-webdriver 4.1.0
Using net-imap 0.2.3
Using net-pop 0.1.1
Using net-smtp 0.3.1
Fetching auto_html 2.1.0
Fetching launchy 2.5.0
Installing activesupport 7.0.2.4
Installing launchy 2.5.0
Installing faker 2.20.0
Installing auto_html 2.1.0
Fetching pry-rails 0.3.9
Fetching aws-sdk-core 3.121.3
Installing pry-rails 0.3.9
Fetching faraday 1.9.3
Installing faraday 1.9.3
Installing aws-sdk-core 3.121.3
Fetching rubocop-ast 1.15.1
Installing rubocop-ast 1.15.1
Fetching scout_apm 5.1.1
Fetching webmock 3.14.0
Fetching minitest-reporters-pride_reporter 0.0.2
Installing webmock 3.14.0
Installing minitest-reporters-pride_reporter 0.0.2
Installing scout_apm 5.1.1 with native extensions
Using capybara 3.36.0
Fetching rails-html-sanitizer 1.4.2
Fetching webdrivers 5.0.0
Installing rails-html-sanitizer 1.4.2
Installing webdrivers 5.0.0
Fetching letter_opener 1.7.0
Fetching rails-dom-testing 2.0.3
Installing letter_opener 1.7.0
Fetching globalid 1.0.0
Installing rails-dom-testing 2.0.3
Fetching activemodel 7.0.2.4
Installing globalid 1.0.0
Fetching groupdate 6.0.1
Fetching inline_svg 1.7.2
Fetching pundit 2.1.1
Installing activemodel 7.0.2.4
Installing groupdate 6.0.1
Installing inline_svg 1.7.2
Fetching view_component 2.53.0
Installing pundit 2.1.1
Installing view_component 2.53.0
Using faraday_middleware 1.2.0
Fetching puma 5.6.4
Fetching unf 0.1.4
Fetching rubocop 1.24.1
Installing unf 0.1.4
Installing puma 5.6.4 with native extensions
Fetching aws-sdk-kms 1.50.0
Fetching actionview 7.0.2.4
Fetching activejob 7.0.2.4
Installing rubocop 1.24.1
Installing aws-sdk-kms 1.50.0
Installing activejob 7.0.2.4
Installing actionview 7.0.2.4
Fetching fathom_api 0.1.2
Fetching activerecord 7.0.2.4
Installing fathom_api 0.1.2
Fetching domain_name 0.5.20190701
Installing activerecord 7.0.2.4
Fetching aws-sdk-s3 1.104.0
Installing domain_name 0.5.20190701
Fetching actionpack 7.0.2.4
Installing aws-sdk-s3 1.104.0
Installing actionpack 7.0.2.4
Fetching better_html 1.0.16
Fetching http-cookie 1.0.4
Installing better_html 1.0.16
Fetching actioncable 7.0.2.4
Installing http-cookie 1.0.4
Installing actioncable 7.0.2.4
Fetching actionmailer 7.0.2.4
Fetching railties 7.0.2.4
Fetching sprockets-rails 3.4.2
Installing actionmailer 7.0.2.4
Fetching activestorage 7.0.2.4
Installing sprockets-rails 3.4.2
Fetching pg_search 2.3.6
Fetching postmark-rails 0.22.0
Installing activestorage 7.0.2.4
Installing railties 7.0.2.4
Installing postmark-rails 0.22.0
Installing pg_search 2.3.6
Using erb_lint 0.1.1 from https://github.com/Shopify/erb-lint.git (at main@02fb0e9)
Fetching rubocop-performance 1.13.1
Fetching actionmailbox 7.0.2.4
Fetching actiontext 7.0.2.4
Installing rubocop-performance 1.13.1
Installing actionmailbox 7.0.2.4
Installing actiontext 7.0.2.4
Fetching standard 1.6.0
Fetching classy-yaml 0.7.0
Fetching cssbundling-rails 1.0.0
Fetching responders 3.0.1
Fetching rails 7.0.2.4
Installing standard 1.6.0
Fetching turbo-rails 1.0.0
Installing responders 3.0.1
Installing rails 7.0.2.4
Fetching rails-i18n 7.0.3
Fetching jsbundling-rails 1.0.0
Installing classy-yaml 0.7.0
Fetching letter_opener_web 1.4.1
Installing cssbundling-rails 1.0.0
Fetching stimulus-rails 0.7.2
Installing rails-i18n 7.0.3
Installing turbo-rails 1.0.0
Installing jsbundling-rails 1.0.0
Using pay 3.0.24 from https://github.com/pay-rails/pay.git (at 4f4a726@4f4a726)
Fetching devise 4.8.1
Installing letter_opener_web 1.4.1
Installing stimulus-rails 0.7.2
Fetching hotwire-rails 0.1.3
Installing devise 4.8.1
Installing hotwire-rails 0.1.3
Fetching devise-i18n 1.10.1
Fetching i18n-tasks 1.0.10
Installing i18n-tasks 1.0.10
Installing devise-i18n 1.10.1
Fetching ffi-compiler 1.0.1
Using rb-inotify 0.10.1
Fetching listen 3.7.0
Installing listen 3.7.0
Fetching hotwire-livereload 1.1.0
Installing ffi-compiler 1.0.1
Fetching llhttp-ffi 0.4.0
Installing hotwire-livereload 1.1.0
Installing llhttp-ffi 0.4.0 with native extensions
Fetching http 5.0.4
Installing http 5.0.4
Fetching noticed 1.4.1
Installing noticed 1.4.1
Bundle complete! 49 Gemfile dependencies, 163 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n-tasks:
# Install default configuration:
cp $(bundle exec i18n-tasks gem-path)/templates/config/i18n-tasks.yml config/
# Add an RSpec for missing and unused keys:
cp $(bundle exec i18n-tasks gem-path)/templates/rspec/i18n_spec.rb spec/
Post-install message from postmark:
==================
Thanks for installing the postmark gem. If you don't have an account, please
sign up at http://postmarkapp.com/.
Review the README.md for implementation details and examples.
==================
Post-install message from rubyzip:
RubyZip 3.0 is coming!
**********************
The public API of some Rubyzip classes has been modernized to use named
parameters for optional arguments. Please check your usage of the
following classes:
* `Zip::File`
* `Zip::Entry`
* `Zip::InputStream`
* `Zip::OutputStream`
Please ensure that your Gemfiles and .gemspecs are suitably restrictive
to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).
See https://github.com/rubyzip/rubyzip for details. The Changelog also
lists other enhancements and bugfixes that have been implemented since
version 2.3.0.
== Install JavaScript dependencies ==
yarn install v1.22.17
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
✨ Done in 9.94s.
== Preparing database ==
Created database 'railsdevs_development'
Created database 'railsdevs_test'
rails aborted!
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "("
LINE 1: ...earchable_index_col" tsvector GENERATED ALWAYS AS (to_tsvect...
^
/Users/malachai/Desktop/Projects/railsdevs.com/db/schema.rb:78:in `block in <top (required)>'
/Users/malachai/Desktop/Projects/railsdevs.com/db/schema.rb:13:in `<top (required)>'
Caused by:
PG::SyntaxError: ERROR: syntax error at or near "("
LINE 1: ...earchable_index_col" tsvector GENERATED ALWAYS AS (to_tsvect...
^
/Users/malachai/Desktop/Projects/railsdevs.com/db/schema.rb:78:in `block in <top (required)>'
/Users/malachai/Desktop/Projects/railsdevs.com/db/schema.rb:13:in `<top (required)>'
Caused by:
ActiveRecord::NoDatabaseError: We could not find your database: railsdevs_development. Which can be found in the database configuration file located at config/database.yml.
To resolve this issue:
- Did you create the database for this app, or delete it? You may need to create your database.
- Has the database name changed? Check your database.yml config has the correct database name.
To create your database, run:
bin/rails db:create
Caused by:
PG::ConnectionBad: connection to server on socket "/tmp/.s.PGSQL.5432" failed: FATAL: database "railsdevs_development" does not exist
Tasks: TOP => db:prepare
(See full trace by running task with --trace)
== Command ["bin/rails db:prepare"] failed ==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment