Skip to content

Instantly share code, notes, and snippets.

@sulmanweb
Created November 1, 2022 11:56
Show Gist options
  • Save sulmanweb/dd16b9b678388efe802f3b503d740c97 to your computer and use it in GitHub Desktop.
Save sulmanweb/dd16b9b678388efe802f3b503d740c97 to your computer and use it in GitHub Desktop.
Error while bin/setup
/var/run/postgresql:5432 - accepting connections
[platform-postgresql] Granting SUPERUSER to toptal role
ALTER ROLE
[platform-postgresql] Set development environment
Top level ::CompositeIO is deprecated, require 'multipart/post' and use `Multipart::Post::CompositeReadIO` instead!
Top level ::Parts is deprecated, require 'multipart/post' and use `Multipart::Post::Parts` instead!
WARNING: Zeitwerk defines the constant Karafka after the directory
/Users/sulmanweb/.gem/gems/karafka-sidekiq-backend-1.4.6/lib/karafka
To prevent that, please configure the loader to ignore it:
loader.ignore("#{__dir__}/karafka")
Otherwise, there is a flag to silence this warning:
Zeitwerk::Loader.for_gem(warn_on_extra_files: false)
/Users/sulmanweb/.gem/gems/dry-configurable-0.13.0/lib/dry/configurable/dsl.rb:28:in `initialize' [dry-configurable] passing a constructor as a block is deprecated and will be removed in the next major version
Provide a `constructor:` keyword argument instead
Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
rake aborted!
LoadError: dlopen(/Users/sulmanweb/.gem/gems/eventmachine-1.2.7/lib/rubyeventmachine.bundle, 0x0009): symbol not found in flat namespace '_rb_disable_interrupt' - /Users/sulmanweb/.gem/gems/eventmachine-1.2.7/lib/rubyeventmachine.bundle
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:324:in `block in require'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:291:in `load_dependency'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:324:in `require'
/Users/sulmanweb/.gem/gems/eventmachine-1.2.7/lib/eventmachine.rb:8:in `<top (required)>'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:324:in `block in require'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:291:in `load_dependency'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:324:in `require'
/Users/sulmanweb/.gem/gems/guard-livereload-2.5.2/lib/guard/livereload/websocket.rb:1:in `<top (required)>'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:324:in `block in require'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:291:in `load_dependency'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:324:in `require'
/Users/sulmanweb/.gem/gems/guard-livereload-2.5.2/lib/guard/livereload.rb:5:in `<class:LiveReload>'
/Users/sulmanweb/.gem/gems/guard-livereload-2.5.2/lib/guard/livereload.rb:4:in `<module:Guard>'
/Users/sulmanweb/.gem/gems/guard-livereload-2.5.2/lib/guard/livereload.rb:3:in `<top (required)>'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:73:in `rescue in block in require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:51:in `block in require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:44:in `each'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:44:in `require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler.rb:187:in `require'
/Users/sulmanweb/toptal/platform/config/application.rb:9:in `<top (required)>'
/Users/sulmanweb/toptal/platform/Rakefile:7:in `require'
/Users/sulmanweb/toptal/platform/Rakefile:7:in `<top (required)>'
/Users/sulmanweb/.gem/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/cli/exec.rb:58:in `load'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/cli/exec.rb:58:in `kernel_load'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/cli/exec.rb:23:in `run'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/cli.rb:485:in `exec'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/cli.rb:31:in `dispatch'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/cli.rb:25:in `start'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/exe/bundle:48:in `block in <top (required)>'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/friendly_errors.rb:120:in `with_friendly_errors'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/exe/bundle:36:in `<top (required)>'
/Users/sulmanweb/.gem/bin/bundle:23:in `load'
/Users/sulmanweb/.gem/bin/bundle:23:in `<main>'
Caused by:
LoadError: cannot load such file -- guard-livereload
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:55:in `each'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:55:in `block in require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:44:in `each'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:44:in `require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler.rb:187:in `require'
/Users/sulmanweb/toptal/platform/config/application.rb:9:in `<top (required)>'
/Users/sulmanweb/toptal/platform/Rakefile:7:in `require'
/Users/sulmanweb/toptal/platform/Rakefile:7:in `<top (required)>'
/Users/sulmanweb/.gem/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/cli/exec.rb:58:in `load'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/cli/exec.rb:58:in `kernel_load'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/cli/exec.rb:23:in `run'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/cli.rb:485:in `exec'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/cli.rb:31:in `dispatch'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/cli.rb:25:in `start'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/exe/bundle:48:in `block in <top (required)>'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/friendly_errors.rb:120:in `with_friendly_errors'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/exe/bundle:36:in `<top (required)>'
/Users/sulmanweb/.gem/bin/bundle:23:in `load'
/Users/sulmanweb/.gem/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)
Error: Setup script encountered an error in /Users/sulmanweb/toptal/platform/bin/setup_includes/prepare_binary_database around line 86.
* Finished parallel jobs: geoip_db_download update_spring setup_services_databases prepare_binary_database
* Databases are done!
* Generating Crystalball spring binstubs...
* bin/crystalball: Spring already present
* Stopping spring...
Spring is not running
* Done.
* Starting the remaining docker containers ...
WARNING: The BUNDLE_GITHUB__COM variable is not set. Defaulting to a blank string.
WARNING: The CLIENTOPEDIA_ZOOMINFO_USERNAME variable is not set. Defaulting to a blank string.
WARNING: The CLIENTOPEDIA_ZOOMINFO_PASSWORD variable is not set. Defaulting to a blank string.
WARNING: The CLIENTOPEDIA_EVERSTRING_ACCESS_TOKEN variable is not set. Defaulting to a blank string.
WARNING: The ROLLBAR_ACCESS_TOKEN variable is not set. Defaulting to a blank string.
WARNING: The ROLLBAR_ENV variable is not set. Defaulting to a blank string.
WARNING: The AWS_ACCESS_KEY_ID variable is not set. Defaulting to a blank string.
WARNING: The AWS_SECRET_ACCESS_KEY variable is not set. Defaulting to a blank string.
toptal_redis is up-to-date
toptal_elasticsearch_test is up-to-date
toptal_postgresql is up-to-date
staff_portal is up-to-date
zoo is up-to-date
Recreating platform-postgresql ...
toptal_elasticsearch is up-to-date
api-gateway is up-to-date
graphql_gateway is up-to-date
kafka is up-to-date
Starting platform_billing_1 ...
Recreating platform-postgresql ... done
Starting platform_billing_1 ... done
Recreating platform_base-services_1 ... done
Recreating platform_development_1 ... done
Attaching to platform_development_1
platform_development_1 exited with code 0
* Applying DB migrations ...
Top level ::CompositeIO is deprecated, require 'multipart/post' and use `Multipart::Post::CompositeReadIO` instead!
Top level ::Parts is deprecated, require 'multipart/post' and use `Multipart::Post::Parts` instead!
WARNING: Zeitwerk defines the constant Karafka after the directory
/Users/sulmanweb/.gem/gems/karafka-sidekiq-backend-1.4.6/lib/karafka
To prevent that, please configure the loader to ignore it:
loader.ignore("#{__dir__}/karafka")
Otherwise, there is a flag to silence this warning:
Zeitwerk::Loader.for_gem(warn_on_extra_files: false)
/Users/sulmanweb/.gem/gems/dry-configurable-0.13.0/lib/dry/configurable/dsl.rb:28:in `initialize' [dry-configurable] passing a constructor as a block is deprecated and will be removed in the next major version
Provide a `constructor:` keyword argument instead
Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
rake aborted!
LoadError: dlopen(/Users/sulmanweb/.gem/gems/eventmachine-1.2.7/lib/rubyeventmachine.bundle, 0x0009): symbol not found in flat namespace '_rb_disable_interrupt' - /Users/sulmanweb/.gem/gems/eventmachine-1.2.7/lib/rubyeventmachine.bundle
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:324:in `block in require'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:291:in `load_dependency'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:324:in `require'
/Users/sulmanweb/.gem/gems/eventmachine-1.2.7/lib/eventmachine.rb:8:in `<top (required)>'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:324:in `block in require'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:291:in `load_dependency'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:324:in `require'
/Users/sulmanweb/.gem/gems/guard-livereload-2.5.2/lib/guard/livereload/websocket.rb:1:in `<top (required)>'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:324:in `block in require'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:291:in `load_dependency'
/Users/sulmanweb/.gem/gems/activesupport-6.0.5/lib/active_support/dependencies.rb:324:in `require'
/Users/sulmanweb/.gem/gems/guard-livereload-2.5.2/lib/guard/livereload.rb:5:in `<class:LiveReload>'
/Users/sulmanweb/.gem/gems/guard-livereload-2.5.2/lib/guard/livereload.rb:4:in `<module:Guard>'
/Users/sulmanweb/.gem/gems/guard-livereload-2.5.2/lib/guard/livereload.rb:3:in `<top (required)>'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:73:in `rescue in block in require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:51:in `block in require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:44:in `each'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:44:in `require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler.rb:187:in `require'
/Users/sulmanweb/toptal/platform/config/application.rb:9:in `<top (required)>'
<internal:/Users/sulmanweb/.rbenv/versions/3.0.4/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/Users/sulmanweb/.rbenv/versions/3.0.4/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/Users/sulmanweb/toptal/platform/Rakefile:7:in `<top (required)>'
/Users/sulmanweb/.gem/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Caused by:
LoadError: cannot load such file -- guard-livereload
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:55:in `each'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:55:in `block in require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:44:in `each'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler/runtime.rb:44:in `require'
/Users/sulmanweb/.gem/gems/bundler-2.3.21/lib/bundler.rb:187:in `require'
/Users/sulmanweb/toptal/platform/config/application.rb:9:in `<top (required)>'
<internal:/Users/sulmanweb/.rbenv/versions/3.0.4/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/Users/sulmanweb/.rbenv/versions/3.0.4/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/Users/sulmanweb/toptal/platform/Rakefile:7:in `<top (required)>'
/Users/sulmanweb/.gem/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
(See full trace by running task with --trace)
Error: Setup script encountered an error in bin/setup around line 297.
* Collecting Setup Scripts Metrics (see: log/setup_metrics.log)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment