Skip to content

Instantly share code, notes, and snippets.

@elliott-beach
Created August 25, 2017 15:50
Show Gist options
  • Save elliott-beach/d655c980fba7f2b3f78a4b5e6c5ab247 to your computer and use it in GitHub Desktop.
Save elliott-beach/d655c980fba7f2b3f78a4b5e6c5ab247 to your computer and use it in GitHub Desktop.
PackageManager::Rubygems.update "split" error
2.4.1 :009 > PackageManager::Rubygems.update "split"
ETHON: performed EASY effective_url=https://rubygems.org/api/v1/gems/split.json response_code=200 return_code=ok total_time=0.186102
HTTP Cache: [GET /api/v1/gems/split.json] miss, store
Saving split
Project Load (1.3ms) SELECT "projects".* FROM "projects" WHERE "projects"."name" = $1 AND "projects"."platform" = $2 LIMIT $3 [["name", "split"], ["platform", "Rubygems"], ["LIMIT", 1]]
(0.6ms) BEGIN
Project Exists (1.3ms) SELECT 1 AS one FROM "projects" WHERE "projects"."name" = $1 AND ("projects"."id" != $2) AND "projects"."platform" = $3 LIMIT $4 [["name", "split"], ["id", 2], ["platform", "Rubygems"], ["LIMIT", 1]]
Version Load (1.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."project_id" = $1 [["project_id", 2]]
SQL (0.9ms) UPDATE "projects" SET "updated_at" = $1, "latest_release_published_at" = $2 WHERE "projects"."id" = $3 [["updated_at", "2017-08-25 15:47:13.860364"], ["latest_release_published_at", "2017-08-25 15:46:55.780540"], ["id", 2]]
(2.1ms) COMMIT
(1.8ms) SELECT DISTINCT versions.project_id FROM "dependencies" INNER JOIN "versions" ON "versions"."id" = "dependencies"."version_id" WHERE "dependencies"."project_id" = $1 [["project_id", 2]]
(0.8ms) SELECT COUNT(*) AS count_all, repositories.id AS repositories_id FROM "repositories" INNER JOIN "manifests" ON "repositories"."id" = "manifests"."repository_id" INNER JOIN "repository_dependencies" ON "manifests"."id" = "repository_dependencies"."manifest_id" WHERE "repository_dependencies"."project_id" = $1 AND "repositories"."private" = $2 GROUP BY repositories.id ORDER BY repositories.rank DESC NULLS LAST, repositories.stargazers_count DESC [["project_id", 2], ["private", "f"]]
ETHON: performed EASY effective_url=http://localhost:9200/projects-development/project/2 response_code=0 return_code=couldnt_connect total_time=0.004387
Faraday::ConnectionFailed: Couldn't connect to server
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/typhoeus-1.1.2/lib/typhoeus/adapters/faraday.rb:106:in `block in request'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/typhoeus-1.1.2/lib/typhoeus/request/callbacks.rb:128:in `block in execute_callbacks'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/typhoeus-1.1.2/lib/typhoeus/request/callbacks.rb:127:in `each'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/typhoeus-1.1.2/lib/typhoeus/request/callbacks.rb:127:in `execute_callbacks'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/typhoeus-1.1.2/lib/typhoeus/request/operations.rb:35:in `finish'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/typhoeus-1.1.2/lib/typhoeus/easy_factory.rb:159:in `block in set_callback'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/ethon-0.10.1/lib/ethon/easy/response_callbacks.rb:68:in `block in complete'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/ethon-0.10.1/lib/ethon/easy/response_callbacks.rb:68:in `each'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/ethon-0.10.1/lib/ethon/easy/response_callbacks.rb:68:in `complete'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/ethon-0.10.1/lib/ethon/easy/operations.rb:33:in `perform'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/typhoeus-1.1.2/lib/typhoeus/request/operations.rb:16:in `run'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/typhoeus-1.1.2/lib/typhoeus/request/cacheable.rb:18:in `run'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/typhoeus-1.1.2/lib/typhoeus/request/block_connection.rb:31:in `run'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/typhoeus-1.1.2/lib/typhoeus/request/stubbable.rb:25:in `run'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/typhoeus-1.1.2/lib/typhoeus/request/before.rb:26:in `run'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/typhoeus-1.1.2/lib/typhoeus/adapters/faraday.rb:82:in `perform_request'
... 27 levels...
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/activerecord-5.0.5/lib/active_record/connection_adapters/abstract/transaction.rb:178:in `commit_transaction'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/activerecord-5.0.5/lib/active_record/connection_adapters/abstract/transaction.rb:202:in `within_new_transaction'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/activerecord-5.0.5/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/activerecord-5.0.5/lib/active_record/transactions.rb:211:in `transaction'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/activerecord-5.0.5/lib/active_record/transactions.rb:392:in `with_transaction_returning_status'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/activerecord-5.0.5/lib/active_record/persistence.rb:273:in `update'
from /home/elliott/me/projects/library-root/libraries.io/app/models/package_manager/base.rb:104:in `save'
from /home/elliott/me/projects/library-root/libraries.io/app/models/package_manager/base.rb:127:in `update'
from (irb):9
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/railties-5.0.5/lib/rails/commands/console.rb:65:in `start'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/railties-5.0.5/lib/rails/commands/console_helper.rb:9:in `start'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/railties-5.0.5/lib/rails/commands/commands_tasks.rb:78:in `console'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/railties-5.0.5/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
from /home/elliott/.rvm/gems/ruby-2.4.1/gems/railties-5.0.5/lib/rails/commands.rb:18:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment