Heroku hangs on 'Cleaning up the bundler cache.' with oauth2 in gemfile - ruby

I'm trying to push heroku master, and I can't get past 'Cleaning up the bundler cache.'
I've tracked down the issue to the oauth2 gem. If I remove that from the Gemfile, bundle install, and push the repo up to Heroku, it deploys just fine. However, my app can't run without it.
Locally, I'm able to run everything.
Logs:
> Initializing repository, done. Counting objects: 90, done. Delta
> compression using up to 4 threads. Compressing objects: 100% (82/82),
> done. Writing objects: 100% (90/90), 27.55 KiB | 0 bytes/s, done.
> Total 90 (delta 38), reused 0 (delta 0)
>
> -----> Ruby app detected
> -----> Compiling Ruby/Rack
> -----> Using Ruby version: ruby-1.9.3
> -----> Installing dependencies using 1.6.3
> Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
> Fetching gem metadata from http://rubygems.org/.........
> Fetching additional metadata from http://rubygems.org/..
> Installing minitest 5.4.2
> Installing i18n 0.6.11
> Installing thread_safe 0.3.4
> Installing builder 3.2.2
> Installing arel 5.0.1.20140414130214
> Installing mini_portile 0.6.0
> Installing multipart-post 2.0.0
> Installing jwt 1.0.0
> Installing rack 1.5.2
> Installing logger 1.2.8
> Installing systemu 2.6.4
> Installing multi_json 1.10.1
> Installing mime-types 2.4.1
> Installing multi_xml 0.5.5
> Installing netrc 0.7.7
> Installing nori 2.4.0
> Installing tilt 1.4.1
> Using bundler 1.6.3
> Installing tzinfo 1.2.2
> Installing gyoku 1.1.1
> Installing json 1.8.1
> Installing faraday 0.9.0
> Installing httpi 2.2.7
> Installing rack-protection 1.5.3
> Installing macaddr 1.7.1
> Installing rest-client 1.7.2
> Installing activesupport 4.1.6
> Installing oauth2 1.0.0
> Installing sinatra 1.4.5
> Installing uuid 2.3.7
> Installing stripe 1.16.0
> Installing activemodel 4.1.6
> Installing activerecord 4.1.6
> Installing sinatra-activerecord 2.0.2
> Installing pg 0.17.1
> Installing nokogiri 1.6.3.1
> Installing akami 1.2.2
> Installing wasabi 3.3.1
> Installing savon 2.7.2
> Installing tax_cloud 0.3.0
> Your bundle is complete!
> Gems in the groups development and test were not installed.
> It was installed into ./vendor/bundle
> Bundle completed (47.32s)
> Cleaning up the bundler cache.

Related

Anyone have an idea why this deployment is failing since I updated from aws-sdk v2 to v3?

this is my first time posting here btw, sorry for any mistakes.
yea so the deployment exactly stopped working when I upgraded the aws-sdk gem from version 2 to version 3.
I tried to create a new app on heroku AND from the console, didnt work deploying.
I sometimes i got the error trying to upload the same branch eventho it was a newer version of the code.
I also tried out this code in my production.rb:
config.i18n.fallbacks = true
RAILS_ENV=production bundle exec rake assets:precompile
this is my development.rb
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false
# Do not eager load code on boot.
config.eager_load = false
# Show full error reports.
config.consider_all_requests_local = true
# Enable/disable caching. By default caching is disabled.
# Run rails dev:cache to toggle caching.
if Rails.root.join('tmp', 'caching-dev.txt').exist?
config.action_controller.perform_caching = true
config.action_controller.enable_fragment_cache_logging = true
config.cache_store = :memory_store
config.public_file_server.headers = {
'Cache-Control' => "public, max-age=#{2.days.to_i}"
}
else
config.action_controller.perform_caching = false
config.cache_store = :null_store
end
# Store uploaded files on the local file system (see config/storage.yml for options).
config.active_storage.service = :local
# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log
# Raise an error on page load if there are pending migrations.
config.active_record.migration_error = :page_load
# Highlight code that triggered database queries in logs.
config.active_record.verbose_query_logs = true
# Debug mode disables concatenation and preprocessing of assets.
# This option may cause significant delays in view rendering with a large
# number of complex assets.
config.assets.debug = true
# Suppress logger output for asset requests.
config.assets.quiet = true
# Raises error for missing translations.
# config.action_view.raise_on_missing_translations = true
# Use an evented file watcher to asynchronously detect changes in source code,
# routes, locales, etc. This feature depends on the listen gem.
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = true
config.action_mailer.perform_caching = true
config.action_mailer.preview_path = "app/spec/mailers/previews/user_mailer_preview.rb"
config.action_mailer.default_url_options = { host: 'https://ancient-brushlands-24517.herokuapp.com/' }
config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true
end
and this is my build log
Overview Resources Deploy Metrics Activity Access Settings
Activity Feed Build LogID 1d64e11a-7659-40ba-adf3-a5648a6785cc
-----> Ruby app detected
-----> Installing bundler 2.1.4
-----> Removing BUNDLED WITH version in the Gemfile.lock
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.5.0
###### WARNING:
Removing `Gemfile.lock` because it was generated on Windows.
Bundler will do a full resolve so native gems are handled properly.
This may result in unexpected gem versions being used in your app.
In rare occasions Bundler may not be able to resolve your dependencies at all.
https://devcenter.heroku.com/articles/bundler-windows-gemfile
-----> Installing dependencies using bundler 2.1.4
Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin bundle install -j4
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies............
Using rake 13.0.1
Using concurrent-ruby 1.1.7
Using minitest 5.14.2
Using thread_safe 0.3.6
Using zeitwerk 2.4.0
Using builder 3.2.4
Using erubi 1.9.0
Using mini_portile2 2.4.0
Using crass 1.0.6
Using rack 2.2.3
Using nio4r 2.5.4
Using websocket-extensions 0.1.5
Using mimemagic 0.3.5
Using mini_mime 1.0.2
Using ast 2.4.1
Using execjs 2.7.0
Using aws-eventstream 1.1.0
Installing aws-partitions 1.382.0
Using jmespath 1.4.0
Installing aws-sigv2 1.0.1
Using msgpack 1.3.3
Using rb-fsevent 0.10.4
Using ffi 1.13.1
Using will_paginate 3.1.7
Using bundler 2.1.4
Using diff-lcs 1.4.4
Using dotenv 2.7.6
Using method_source 0.9.2
Using thor 1.0.1
Using erubis 2.7.0
Using temple 0.8.2
Using tilt 2.0.10
Using sexp_processor 4.15.1
Using parallel 1.19.2
Using pg 1.2.3
Using rainbow 3.0.0
Using regexp_parser 1.8.2
Using rexml 3.2.4
Using rspec-support 3.9.3
Using ruby-progressbar 1.10.1
Using unicode-display_width 1.7.0
Using turbolinks-source 5.2.0
Using i18n 1.8.5
Using nokogiri 1.10.10
Using tzinfo 1.2.7
Using puma 5.0.2
Using rack-test 1.1.0
Using websocket-driver 0.7.3
Using marcel 0.3.3
Using mail 2.7.1
Using rack-proxy 0.6.5
Using sprockets 3.7.2
Using autoprefixer-rails 10.0.1.0
Using aws-sigv4 1.2.2
Using parser 2.7.2.0
Using bootsnap 1.4.8
Using rb-inotify 0.10.1
Using bootstrap-will_paginate 1.0.0
Using haml 5.2.0
Using ruby_parser 3.15.0
Using rspec-core 3.9.3
Using rspec-expectations 3.9.2
Using rspec-mocks 3.9.1
Using turbolinks 5.2.1
Using faker 2.14.0
Using loofah 2.7.0
Using activesupport 6.0.3.4
Using rubocop-ast 0.8.0
Using sass-listen 4.0.0
Using html2haml 2.2.0
Using rails-dom-testing 2.0.3
Using rails-html-sanitizer 1.3.0
Using globalid 0.4.2
Using activemodel 6.0.3.4
Using jbuilder 2.10.1
Using sass 3.7.4
Using rubocop 0.93.1
Using actionview 6.0.3.4
Using activejob 6.0.3.4
Using activerecord 6.0.3.4
Using rubocop-faker 0.2.0
Using actionpack 6.0.3.4
Using bootstrap-sass 3.3.7
Using actioncable 6.0.3.4
Using activestorage 6.0.3.4
Using actionmailer 6.0.3.4
Using railties 6.0.3.4
Using sprockets-rails 3.2.2
Using actionmailbox 6.0.3.4
Using actiontext 6.0.3.4
Using dotenv-rails 2.7.6
Using haml-rails 2.0.1
Using jquery-rails 4.4.0
Using rspec-rails 4.0.1
Using sass-rails 5.1.0
Using webpacker 4.3.0
Using rails 6.0.3.4
Installing aws-sdk-core 3.109.1
Installing aws-sdk-accessanalyzer 1.13.0
Installing aws-sdk-acm 1.38.0
Installing aws-sdk-acmpca 1.30.0
Installing aws-sdk-alexaforbusiness 1.43.0
Installing aws-sdk-amplify 1.26.0
Installing aws-sdk-apigateway 1.55.0
Installing aws-sdk-apigatewaymanagementapi 1.19.0
Installing aws-sdk-apigatewayv2 1.29.0
Installing aws-sdk-appconfig 1.12.0
Installing aws-sdk-appflow 1.2.0
Installing aws-sdk-applicationautoscaling 1.48.0
Installing aws-sdk-applicationdiscoveryservice 1.33.0
Installing aws-sdk-applicationinsights 1.15.0
Installing aws-sdk-appmesh 1.31.0
Installing aws-sdk-appstream 1.48.0
Installing aws-sdk-appsync 1.36.0
Installing aws-sdk-athena 1.33.0
Installing aws-sdk-augmentedairuntime 1.10.0
Installing aws-sdk-autoscaling 1.47.0
Installing aws-sdk-autoscalingplans 1.28.0
Installing aws-sdk-backup 1.23.0
Installing aws-sdk-batch 1.39.0
Installing aws-sdk-braket 1.4.0
Installing aws-sdk-budgets 1.36.0
Installing aws-sdk-chime 1.37.0
Installing aws-sdk-cloud9 1.29.0
Installing aws-sdk-clouddirectory 1.29.0
Installing aws-sdk-cloudformation 1.44.0
Installing aws-sdk-cloudfront 1.43.0
Installing aws-sdk-cloudhsm 1.27.0
Installing aws-sdk-cloudhsmv2 1.30.0
Installing aws-sdk-cloudsearch 1.26.0
Installing aws-sdk-cloudsearchdomain 1.22.0
Installing aws-sdk-cloudtrail 1.29.0
Installing aws-sdk-cloudwatch 1.45.0
Installing aws-sdk-cloudwatchevents 1.38.0
Installing aws-sdk-cloudwatchlogs 1.38.0
Installing aws-sdk-codeartifact 1.4.0
Installing aws-sdk-codebuild 1.63.0
Installing aws-sdk-codecommit 1.40.0
Installing aws-sdk-codedeploy 1.37.0
Installing aws-sdk-codeguruprofiler 1.12.0
Installing aws-sdk-codegurureviewer 1.13.0
Installing aws-sdk-codepipeline 1.37.0
Installing aws-sdk-codestar 1.27.0
Installing aws-sdk-codestarconnections 1.11.0
Installing aws-sdk-codestarnotifications 1.8.0
Installing aws-sdk-cognitoidentity 1.27.0
Installing aws-sdk-cognitoidentityprovider 1.47.0
Installing aws-sdk-cognitosync 1.24.0
Installing aws-sdk-comprehend 1.41.0
Installing aws-sdk-comprehendmedical 1.23.0
Installing aws-sdk-computeoptimizer 1.9.0
Installing aws-sdk-configservice 1.53.0
Installing aws-sdk-connect 1.34.0
Installing aws-sdk-connectparticipant 1.8.0
Installing aws-sdk-costandusagereportservice 1.28.0
Installing aws-sdk-costexplorer 1.52.0
Installing aws-sdk-databasemigrationservice 1.45.0
Installing aws-sdk-dataexchange 1.10.0
Installing aws-sdk-datapipeline 1.24.0
Installing aws-sdk-datasync 1.27.0
Installing aws-sdk-dax 1.27.0
Installing aws-sdk-detective 1.11.0
Installing aws-sdk-devicefarm 1.39.0
Installing aws-sdk-directconnect 1.37.0
Installing aws-sdk-directoryservice 1.34.0
Installing aws-sdk-dlm 1.35.0
Installing aws-sdk-docdb 1.25.0
Installing aws-sdk-dynamodb 1.55.0
Installing aws-sdk-dynamodbstreams 1.26.0
Installing aws-sdk-ebs 1.11.0
Installing aws-sdk-ec2 1.200.0
Installing aws-sdk-ec2instanceconnect 1.11.0
Installing aws-sdk-ecr 1.39.0
Installing aws-sdk-ecs 1.70.0
Installing aws-sdk-efs 1.36.0
Installing aws-sdk-eks 1.45.0
Installing aws-sdk-elasticache 1.44.0
Installing aws-sdk-elasticbeanstalk 1.38.0
Installing aws-sdk-elasticinference 1.10.0
Installing aws-sdk-elasticloadbalancing 1.29.0
Installing aws-sdk-elasticloadbalancingv2 1.53.0
Installing aws-sdk-elasticsearchservice 1.43.0
Installing aws-sdk-elastictranscoder 1.27.0
Installing aws-sdk-emr 1.39.0
Installing aws-sdk-eventbridge 1.16.0
Installing aws-sdk-firehose 1.35.0
Installing aws-sdk-fms 1.32.0
Installing aws-sdk-forecastqueryservice 1.10.0
Installing aws-sdk-forecastservice 1.11.0
Installing aws-sdk-frauddetector 1.13.0
Installing aws-sdk-fsx 1.31.0
Installing aws-sdk-gamelift 1.38.0
Installing aws-sdk-glacier 1.35.0
Installing aws-sdk-globalaccelerator 1.23.0
Installing aws-sdk-glue 1.75.0
Installing aws-sdk-greengrass 1.37.0
Installing aws-sdk-groundstation 1.15.0
Installing aws-sdk-guardduty 1.42.0
Installing aws-sdk-health 1.31.0
Installing aws-sdk-honeycode 1.3.0
Installing aws-sdk-iam 1.46.0
Installing aws-sdk-identitystore 1.3.0
Installing aws-sdk-imagebuilder 1.15.0
Installing aws-sdk-importexport 1.24.0
Installing aws-sdk-inspector 1.32.0
Installing aws-sdk-iot 1.59.0
Installing aws-sdk-iot1clickdevicesservice 1.26.0
Installing aws-sdk-iot1clickprojects 1.26.0
Installing aws-sdk-iotanalytics 1.34.0
Installing aws-sdk-iotdataplane 1.26.0
Installing aws-sdk-iotevents 1.20.0
Installing aws-sdk-ioteventsdata 1.13.0
Installing aws-sdk-iotjobsdataplane 1.25.0
Installing aws-sdk-iotsecuretunneling 1.8.0
Installing aws-sdk-iotsitewise 1.12.0
Installing aws-sdk-iotthingsgraph 1.12.0
Installing aws-sdk-ivs 1.5.0
Installing aws-sdk-kafka 1.29.0
Installing aws-sdk-kendra 1.14.0
Installing aws-sdk-kinesis 1.30.0
Installing aws-sdk-kinesisanalytics 1.29.0
Installing aws-sdk-kinesisanalyticsv2 1.23.0
Installing aws-sdk-kinesisvideo 1.30.0
Installing aws-sdk-kinesisvideoarchivedmedia 1.29.0
Installing aws-sdk-kinesisvideomedia 1.26.0
Installing aws-sdk-kinesisvideosignalingchannels 1.8.0
Installing aws-sdk-kms 1.39.0
Installing aws-sdk-lakeformation 1.11.0
Installing aws-sdk-lambda 1.51.0
Installing aws-sdk-lambdapreview 1.24.0
Installing aws-sdk-lex 1.32.0
Installing aws-sdk-lexmodelbuildingservice 1.39.0
Installing aws-sdk-licensemanager 1.20.0
Installing aws-sdk-lightsail 1.39.0
Installing aws-sdk-machinelearning 1.25.0
Installing aws-sdk-macie 1.25.0
Installing aws-sdk-macie2 1.13.0
Installing aws-sdk-managedblockchain 1.17.0
Installing aws-sdk-marketplacecatalog 1.9.0
Installing aws-sdk-marketplacecommerceanalytics 1.29.0
Installing aws-sdk-marketplaceentitlementservice 1.24.0
Installing aws-sdk-marketplacemetering 1.31.0
Installing aws-sdk-mediaconnect 1.28.0
Installing aws-sdk-mediaconvert 1.58.0
Installing aws-sdk-medialive 1.56.0
Installing aws-sdk-mediapackage 1.36.0
Installing aws-sdk-mediapackagevod 1.19.0
Installing aws-sdk-mediastore 1.30.0
Installing aws-sdk-mediastoredata 1.27.0
Installing aws-sdk-mediatailor 1.32.0
Installing aws-sdk-migrationhub 1.29.0
Installing aws-sdk-migrationhubconfig 1.9.0
Installing aws-sdk-mobile 1.24.0
Installing aws-sdk-mq 1.33.0
Installing aws-sdk-mturk 1.27.0
Installing aws-sdk-neptune 1.30.0
Installing aws-sdk-networkmanager 1.8.0
Installing aws-sdk-opsworks 1.30.0
Installing aws-sdk-opsworkscm 1.40.0
Installing aws-sdk-organizations 1.52.0
Installing aws-sdk-outposts 1.10.0
Installing aws-sdk-personalize 1.19.0
Installing aws-sdk-personalizeevents 1.14.0
Installing aws-sdk-personalizeruntime 1.18.0
Installing aws-sdk-pi 1.24.0
Installing aws-sdk-pinpoint 1.47.0
Installing aws-sdk-pinpointemail 1.24.0
Installing aws-sdk-pinpointsmsvoice 1.21.0
Installing aws-sdk-polly 1.37.0
Installing aws-sdk-pricing 1.24.0
Installing aws-sdk-qldb 1.11.0
Installing aws-sdk-qldbsession 1.9.0
Installing aws-sdk-quicksight 1.33.0
Installing aws-sdk-ram 1.22.0
Installing aws-sdk-rds 1.104.0
Installing aws-sdk-rdsdataservice 1.23.0
Installing aws-sdk-redshift 1.50.0
Installing aws-sdk-redshiftdataapiservice 1.2.0
Installing aws-sdk-rekognition 1.47.0
Installing aws-sdk-resourcegroups 1.32.0
Installing aws-sdk-resourcegroupstaggingapi 1.34.0
Installing aws-sdk-robomaker 1.30.0
Installing aws-sdk-route53 1.44.0
Installing aws-sdk-route53domains 1.28.0
Installing aws-sdk-route53resolver 1.21.0
Installing aws-sdk-s3control 1.24.0
Installing aws-sdk-s3outposts 1.0.0
Installing aws-sdk-sagemaker 1.70.0
Installing aws-sdk-sagemakerruntime 1.27.0
Installing aws-sdk-savingsplans 1.12.0
Installing aws-sdk-schemas 1.10.0
Installing aws-sdk-secretsmanager 1.43.0
Installing aws-sdk-securityhub 1.35.0
Installing aws-sdk-serverlessapplicationrepository 1.32.0
Installing aws-sdk-servicecatalog 1.50.0
Installing aws-sdk-servicediscovery 1.31.0
Installing aws-sdk-servicequotas 1.11.0
Installing aws-sdk-ses 1.36.0
Installing aws-sdk-sesv2 1.13.0
Installing aws-sdk-shield 1.32.0
Installing aws-sdk-signer 1.26.0
Installing aws-sdk-simpledb 1.24.0
Installing aws-sdk-sms 1.27.0
Installing aws-sdk-snowball 1.35.0
Installing aws-sdk-sns 1.33.0
Installing aws-sdk-sqs 1.34.0
Installing aws-sdk-ssm 1.94.0
Installing aws-sdk-ssoadmin 1.3.0
Installing aws-sdk-ssooidc 1.8.0
Installing aws-sdk-states 1.36.0
Installing aws-sdk-storagegateway 1.50.0
Installing aws-sdk-support 1.28.0
Installing aws-sdk-swf 1.25.0
Installing aws-sdk-textract 1.21.0
Installing aws-sdk-synthetics 1.9.0
Installing aws-sdk-timestreamquery 1.1.0
Installing aws-sdk-timestreamwrite 1.1.0
Installing aws-sdk-transcribeservice 1.50.0
Installing aws-sdk-transcribestreamingservice 1.22.0
Installing aws-sdk-transfer 1.28.0
Installing aws-sdk-translate 1.28.0
Installing aws-sdk-waf 1.36.0
Installing aws-sdk-wafregional 1.37.0
Installing aws-sdk-wafv2 1.14.0
Installing aws-sdk-workdocs 1.28.0
Installing aws-sdk-worklink 1.21.0
Installing aws-sdk-workmail 1.32.0
Installing aws-sdk-workmailmessageflow 1.9.0
Installing aws-sdk-workspaces 1.48.0
Installing aws-sdk-xray 1.34.0
Installing aws-sdk-s3 1.83.0
Installing aws-sdk-resources 3.84.0
Installing aws-sdk 3.0.1
Updating files in vendor/cache
* concurrent-ruby-1.1.7.gem
* i18n-1.8.5.gem
* minitest-5.14.2.gem
* activesupport-6.0.3.4.gem
* loofah-2.7.0.gem
* actionview-6.0.3.4.gem
* actionpack-6.0.3.4.gem
* nio4r-2.5.4.gem
* actioncable-6.0.3.4.gem
* activejob-6.0.3.4.gem
* activemodel-6.0.3.4.gem
* activerecord-6.0.3.4.gem
* activestorage-6.0.3.4.gem
* actionmailbox-6.0.3.4.gem
* actionmailer-6.0.3.4.gem
* actiontext-6.0.3.4.gem
* autoprefixer-rails-10.0.1.0.gem
* bootsnap-1.4.8.gem
* railties-6.0.3.4.gem
* faker-2.14.0.gem
* haml-5.2.0.gem
* sexp_processor-4.15.1.gem
* ruby_parser-3.15.0.gem
* jbuilder-2.10.1.gem
* parser-2.7.2.0.gem
* puma-5.0.2.gem
* sprockets-rails-3.2.2.gem
* rails-6.0.3.4.gem
* regexp_parser-1.8.2.gem
* rspec-core-3.9.3.gem
* rubocop-ast-0.8.0.gem
* rubocop-0.93.1.gem
* webpacker-4.3.0.gem
Removing outdated .gem files from vendor/cache
* actionview-6.0.3.2.gem
* activejob-6.0.3.2.gem
* minitest-5.14.1.gem
* lumberjack-1.2.6.gem
* puma-4.3.5.gem
* haml-5.1.2.gem
* nio4r-2.5.2.gem
* i18n-1.8.4.gem
* concurrent-ruby-1.1.6.gem
* actionpack-6.0.3.2.gem
* sexp_processor-4.15.0.gem
* parser-2.7.1.4.gem
* rspec-core-3.9.2.gem
* actionmailbox-6.0.3.2.gem
* webpacker-4.2.2.gem
* activerecord-6.0.3.2.gem
* spring-2.1.0.gem
* rubocop-ast-0.2.0.gem
* activestorage-6.0.3.2.gem
* ruby_parser-3.14.2.gem
* rails-6.0.3.2.gem
* public_suffix-4.0.5.gem
* autoprefixer-rails-9.8.5.gem
* railties-6.0.3.2.gem
* bootsnap-1.4.6.gem
* loofah-2.6.0.gem
* actioncable-6.0.3.2.gem
* activesupport-6.0.3.2.gem
* jbuilder-2.10.0.gem
* rubocop-0.88.0.gem
* actiontext-6.0.3.2.gem
* faker-2.13.0.gem
* regexp_parser-1.7.1.gem
* actionmailer-6.0.3.2.gem
* activemodel-6.0.3.2.gem
* sprockets-rails-3.2.1.gem
Bundle complete! 31 Gemfile dependencies, 333 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into `./vendor/bundle`
Removing aws-sdk (2.11.606)
Removing aws-sdk-resources (2.11.606)
Removing aws-sdk-core (2.11.606)
Bundle completed (21.33s)
Cleaning up the bundler cache.
-----> Installing node-v12.16.2-linux-x64
-----> Installing yarn-v1.22.4
-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
ArgumentError: missing required option :name
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/aws-sdk-s3-1.83.0/lib/aws-sdk-s3/bucket.rb:874:in `extract_name'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/aws-sdk-s3-1.83.0/lib/aws-sdk-s3/bucket.rb:24:in `initialize'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/aws-sdk-s3-1.83.0/lib/aws-sdk-s3/customizations/bucket.rb:14:in `call'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/aws-sdk-s3-1.83.0/lib/aws-sdk-s3/customizations/bucket.rb:14:in `block in <class:Bucket>'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/aws-sdk-s3-1.83.0/lib/aws-sdk-s3/resource.rb:89:in `new'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/aws-sdk-s3-1.83.0/lib/aws-sdk-s3/resource.rb:89:in `bucket'
/tmp/build_f52c4132_/config/initializers/aws.rb:6:in `<top (required)>'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:318:in `block in load'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:318:in `load'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/engine.rb:666:in `block in load_config_initializer'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/activesupport-6.0.3.4/lib/active_support/notifications.rb:182:in `instrument'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/engine.rb:665:in `load_config_initializer'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/engine.rb:625:in `block (2 levels) in <class:Engine>'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/engine.rb:624:in `each'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/engine.rb:624:in `block in <class:Engine>'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:32:in `instance_exec'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:32:in `run'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:61:in `block in run_initializers'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:50:in `each'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:50:in `tsort_each_child'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/initializable.rb:60:in `run_initializers'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/application.rb:363:in `initialize!'
/tmp/build_f52c4132_/config/environment.rb:5:in `<top (required)>'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/zeitwerk-2.4.0/lib/zeitwerk/kernel.rb:34:in `require'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `block in require'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `require'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/application.rb:339:in `require_environment!'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/railties-6.0.3.4/lib/rails/application.rb:523:in `block in run_tasks_blocks'
/tmp/build_f52c4132_/vendor/bundle/ruby/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/task.rb:61:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app.
! Push failed
my aws.rb file:
Aws.config.update({
region: 'eu-central-1',
credentials: Aws::Credentials.new(ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']),
})
S3_BUCKET = Aws::S3::Resource.new.bucket(ENV['S3_BUCKET'])
my environment.rb file:
# Load the Rails application.
require_relative 'application'
# Initialize the Rails application.
Rails.application.initialize!
try not using ENV['S3_BUCKET'] and instead replacing it with the
actual string value that was stored in that environment variable. That
fixed the issue for me.
ENV['S3_BUCKET'] => whatever-this-value-really-is
Source: https://github.com/aws/aws-sdk-ruby/issues/1860

Why is my jekyll command not working anymore?

I've recently discovered that the jekyll command doesn't work anymore on my computer, after perfectly using it for several months.
Whenever I try to run a jekyll command, it says:
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs':
Could not find 'jekyll' (>= 0) among 34 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/Mael/.gem/ruby/2.3.0:/Library/Ruby/Gems/2.3.0:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/gems/2.3.0',
execute `gem env` for more information
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec'
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'
from /usr/local/bin/jekyll:22:in `<main>'
I'm on macOS Sierra (10.12.6).
Xcode is installed
I have Xcode installed on my computer:
$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Reinstalling Jekyll
Checking ruby version and (re)installing bundler
So I tried reinstalling Jekyll as I did the first time:
$ ruby -v
ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin16]
$ sudo gem install bundler
Successfully installed bundler-1.17.1
Parsing documentation for bundler-1.17.1
Done installing documentation for bundler after 4 seconds
1 gem installed
Creating a Gemfile
I created a Gemfile which contains:
gem 'github-pages'
source 'https://rubygems.org'
Bundle install (here come the issues)
And ran, in the directory that contains the Gemfile:
$ bundle install
Here, the installation doesn't work, it says:
An error occurred while installing commonmarker (0.17.13), and Bundler cannot continue.
Make sure that `gem install commonmarker -v '0.17.13' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
github-pages was resolved to 192, which depends on
jekyll-commonmark-ghpages was resolved to 0.1.5, which depends on
jekyll-commonmark was resolved to 1.2.0, which depends on
commonmarker
So I tried the gem install commonmarker -v '0.17.13' --source 'https://rubygems.org/' command, and it says:
Building native extensions. This could take a while...
ERROR: Error installing commonmarker:
ERROR: Failed to build gem native extension.
current directory: /Library/Ruby/Gems/2.3.0/gems/commonmarker-0.17.13/ext/commonmarker
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20181112-6105-u9aca2.rb extconf.rb
creating Makefile
current directory: /Library/Ruby/Gems/2.3.0/gems/commonmarker-0.17.13/ext/commonmarker
make "DESTDIR=" clean
current directory: /Library/Ruby/Gems/2.3.0/gems/commonmarker-0.17.13/ext/commonmarker
make "DESTDIR="
make: *** No rule to make target `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/universal-darwin16/ruby/config.h', needed by `arena.o'. Stop.
make failed, exit code 2
Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/commonmarker-0.17.13 for inspection.
Results logged to /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-16/2.3.0/commonmarker-0.17.13/gem_make.out
I noticed that I have several jekyll and github-pages gems in my /Library/Ruby/Gems/2.0.0/gems (2.0.0) directory:
github-pages-146
github-pages-health-check-1.3.5
...
jekyll-3.4.5
jekyll-avatar-0.4.2
jekyll-coffeescript-1.0.1
[and several other jekyll directories]
...
But not in my /Library/Ruby/Gems/2.3.0/gems (2.3.0) directory! (the one which seems to be targeted by the GEM_PATH when running a jekyll command)
So, maybe I did something that changed the version or something. (I've recently installed osxfuse and sshfs (via brew), I don't know if it has anything to do with the issue?)
I don't know anything about Ruby, Gems system, and so on. Maybe the solution is obvious but I've tried several things with no success.
(Sorry it's a bit long but I wanted to be as clear as possible!)
I also don't work with Ruby, but I had a similar problem on Mac OS 10.12.6 and here is how I solved it.
This is likely caused by some disagreement between the system Ruby environment and Jekyll, and the easiest way to fix it is to create a new environment altogether.
First you should use rvm to manage your ruby versions to avoid delete the system Ruby and break your OS. After you set up rvm, run
rvm install 2.3.3
to install Ruby 2.3.3 (which is what I used). After it finished, make this the default Ruby version in your system:
rvm --default use 2.3.3
then I did the following:
gem install bundler
gem install jekyll
bundle install
and Jekyll worked for me again.
Hope that helps.
I'm not a mac user and not real familiar with ruby, but when I see ERROR: Failed to build gem native extension it usually has to do with not having the ruby version that includes the devkit.
As I understand it, you can get ruby with the devkit or ruby without the devkit, if there is no devkit it can't build some of the gems it needs. On a PC the devkit is required in order to install all of the jekyll dependencies.
I have the same problem with jeklly to bundle new website.
try this:
xcode-select --install
gem install bundler jekyll
That's the way I don't need to sudo to install bundler jekyll.
Install the Command Line Tools:
xcode-select --install
abcLabdeMacBook-Air:zeppelin-master abclab$ xcode-select --install
xcode-select: note: install requested for command line developer tools
abcLabdeMacBook-Air:zeppelin-master abclab$ gem install bundler jekyll
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.
abcLabdeMacBook-Air:zeppelin-master abclab$ bundle install
Ignoring eventmachine-1.2.7 because its extensions are not built. Try: gem pristine eventmachine --version 1.2.7
Ignoring ffi-1.9.25 because its extensions are not built. Try: gem pristine ffi --version 1.9.25
Ignoring http_parser.rb-0.6.0 because its extensions are not built. Try: gem pristine http_parser.rb --version 0.6.0
Fetching gem metadata from http://rubygems.org/.................
Fetching gem metadata from http://rubygems.org/..
Resolving dependencies.....
Using concurrent-ruby 1.1.4
Following files may not be writable, so sudo is needed:
/Library/Ruby/Gems/2.3.0
/Library/Ruby/Gems/2.3.0/build_info
/Library/Ruby/Gems/2.3.0/cache
/Library/Ruby/Gems/2.3.0/doc
/Library/Ruby/Gems/2.3.0/extensions
/Library/Ruby/Gems/2.3.0/gems
/Library/Ruby/Gems/2.3.0/specifications
Using i18n 0.9.5
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Using activesupport 4.2.10
Using public_suffix 2.0.5
Using addressable 2.5.2
Using execjs 2.7.0
Using autoprefixer-rails 9.4.7
Using bundler 2.0.1
Using chunky_png 1.3.11
Using coffee-script-source 1.11.1
Using coffee-script 2.4.1
Using colorator 1.1.0
Using ruby-enum 0.7.2
Fetching commonmarker 0.17.13
Your user account isn't allowed to install to the system RubyGems.
You can cancel this installation and run:
bundle install --path vendor/bundle
to install the gems into ./vendor/bundle/, or you can enter your password
and install the bundled gems to RubyGems using sudo.
Password:
Your user account isn't allowed to install to the system RubyGems.
You can cancel this installation and run:
bundle install --path vendor/bundle
to install the gems into ./vendor/bundle/, or you can enter your password
and install the bundled gems to RubyGems using sudo.
Password:
Installing commonmarker 0.17.13 with native extensions
Fetching multi_json 1.13.1
Installing multi_json 1.13.1
Fetching sass 3.4.25
Installing sass 3.4.25
Fetching compass-core 1.0.3
Installing compass-core 1.0.3
Fetching compass-import-once 1.0.5
Installing compass-import-once 1.0.5
Using rb-fsevent 0.10.3
Fetching ffi 1.10.0
Installing ffi 1.10.0 with native extensions
Fetching rb-inotify 0.10.0
Installing rb-inotify 0.10.0
Fetching compass 1.0.3
Installing compass 1.0.3
Fetching dnsruby 1.61.2
Installing dnsruby 1.61.2
Fetching eventmachine 1.2.7
Installing eventmachine 1.2.7 with native extensions
Fetching http_parser.rb 0.6.0
Installing http_parser.rb 0.6.0 with native extensions
Using em-websocket 0.5.1
Fetching ethon 0.12.0
Installing ethon 0.12.0
Fetching multipart-post 2.0.0
Installing multipart-post 2.0.0
Fetching faraday 0.15.4
Installing faraday 0.15.4
Using forwardable-extended 2.6.0
Fetching gemoji 3.0.0
Installing gemoji 3.0.0
Fetching sawyer 0.8.1
Installing sawyer 0.8.1
Fetching octokit 4.13.0
Installing octokit 4.13.0
Fetching typhoeus 1.3.1
Installing typhoeus 1.3.1
Fetching github-pages-health-check 1.8.1
Installing github-pages-health-check 1.8.1
Using jekyll-sass-converter 1.5.2
Using ruby_dep 1.5.0
Using listen 3.1.5
Fetching jekyll-watch 2.1.2
Installing jekyll-watch 2.1.2
Using kramdown 1.17.0
Using liquid 4.0.0
Using mercenary 0.3.6
Fetching pathutil 0.16.2
Installing pathutil 0.16.2
Fetching rouge 2.2.1
Installing rouge 2.2.1
Using safe_yaml 1.0.4
Fetching jekyll 3.7.4
Installing jekyll 3.7.4
Fetching jekyll-avatar 0.6.0
Installing jekyll-avatar 0.6.0
Fetching jekyll-coffeescript 1.1.1
Installing jekyll-coffeescript 1.1.1
Fetching jekyll-commonmark 1.2.0
Installing jekyll-commonmark 1.2.0
Fetching jekyll-commonmark-ghpages 0.1.5
Installing jekyll-commonmark-ghpages 0.1.5
Fetching jekyll-default-layout 0.1.4
Installing jekyll-default-layout 0.1.4
Fetching jekyll-feed 0.11.0
Installing jekyll-feed 0.11.0
Fetching jekyll-gist 1.5.0
Installing jekyll-gist 1.5.0
Fetching jekyll-github-metadata 2.9.4
Installing jekyll-github-metadata 2.9.4
Fetching mini_portile2 2.4.0
Installing mini_portile2 2.4.0
Fetching nokogiri 1.10.1
Installing nokogiri 1.10.1 with native extensions
Fetching html-pipeline 2.10.0
Installing html-pipeline 2.10.0
Fetching jekyll-mentions 1.4.1
Installing jekyll-mentions 1.4.1
Fetching jekyll-optional-front-matter 0.3.0
Installing jekyll-optional-front-matter 0.3.0
Fetching jekyll-paginate 1.1.0
Installing jekyll-paginate 1.1.0
Fetching jekyll-readme-index 0.2.0
Installing jekyll-readme-index 0.2.0
Fetching jekyll-redirect-from 0.14.0
Installing jekyll-redirect-from 0.14.0
Fetching jekyll-relative-links 0.5.3
Installing jekyll-relative-links 0.5.3
Fetching rubyzip 1.2.2
Installing rubyzip 1.2.2
Fetching jekyll-remote-theme 0.3.1
Installing jekyll-remote-theme 0.3.1
Using jekyll-seo-tag 2.5.0
Fetching jekyll-sitemap 1.2.0
Installing jekyll-sitemap 1.2.0
Fetching jekyll-swiss 0.4.0
Installing jekyll-swiss 0.4.0
Fetching jekyll-theme-architect 0.1.1
Installing jekyll-theme-architect 0.1.1
Fetching jekyll-theme-cayman 0.1.1
Installing jekyll-theme-cayman 0.1.1
Fetching jekyll-theme-dinky 0.1.1
Installing jekyll-theme-dinky 0.1.1
Fetching jekyll-theme-hacker 0.1.1
Installing jekyll-theme-hacker 0.1.1
Fetching jekyll-theme-leap-day 0.1.1
Installing jekyll-theme-leap-day 0.1.1
Fetching jekyll-theme-merlot 0.1.1
Installing jekyll-theme-merlot 0.1.1
Fetching jekyll-theme-midnight 0.1.1
Installing jekyll-theme-midnight 0.1.1
Fetching jekyll-theme-minimal 0.1.1
Installing jekyll-theme-minimal 0.1.1
Fetching jekyll-theme-modernist 0.1.1
Installing jekyll-theme-modernist 0.1.1
Fetching jekyll-theme-primer 0.5.3
Installing jekyll-theme-primer 0.5.3
Fetching jekyll-theme-slate 0.1.1
Installing jekyll-theme-slate 0.1.1
Fetching jekyll-theme-tactile 0.1.1
Installing jekyll-theme-tactile 0.1.1
Fetching jekyll-theme-time-machine 0.1.1
Installing jekyll-theme-time-machine 0.1.1
Fetching jekyll-titles-from-headings 0.5.1
Installing jekyll-titles-from-headings 0.5.1
Fetching jemoji 0.10.1
Installing jemoji 0.10.1
Using minima 2.5.0
Fetching unicode-display_width 1.4.1
Installing unicode-display_width 1.4.1
Fetching terminal-table 1.8.0
Installing terminal-table 1.8.0
Fetching github-pages 193
Installing github-pages 193
Fetching sass-media_query_combiner 0.0.7
Installing sass-media_query_combiner 0.0.7
Bundle complete! 4 Gemfile dependencies, 91 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from compass:
Compass is charityware. If you love it, please donate on our behalf at http://umdf.org/compass Thanks!
Post-install message from dnsruby:
Installing dnsruby...
For issues and source code: https://github.com/alexdalitz/dnsruby
For general discussion (please tell us how you use dnsruby): https://groups.google.com/forum/#!forum/dnsruby
Post-install message from html-pipeline:
-------------------------------------------------
Thank you for installing html-pipeline!
You must bundle Filter gem dependencies.
See html-pipeline README.md for more details.
https://github.com/jch/html-pipeline#dependencies
-------------------------------------------------
It might also be that you have mistakenly installed multiple dependencies of Jekyll. In that case
$ /usr/bin/jekyll serve
might work, or remove the one or more installation of Jekyll.
Find
$ whereis jekyll
and then keep the above one and remove the rest of the installations.
I found a solution, that I think is very not clean, but works for now.
I have two directories in /Library/Ruby/Gems/:
2.0.0/
gems/
specifications/
...
2.3.0/
gems/
specifications/
...
The error output, when I try to run jekyll, tells that it checks (among others) in /Library/Ruby/Gems/2.3.0, but as I said in my question, there aren't any jekyll-related file in there.
So, I manually copied all the files from /Library/Ruby/Gems/2.0.0/gems and /Library/Ruby/Gems/2.0.0/specifications and pasted them in /Library/Ruby/Gems/2.3.0/gems and /Library/Ruby/Gems/2.3.0/specifications respectively.
I guess that the files I've copied are maybe outdated for the Ruby version I have (?), but it works perfectly.
Maybe there is a more conventional way to make it work?

Heroku : Application Error 503 when running RoR app

I am trying to run my app on Heroku. I have done a rake db:migrate and confirmed all dependencies. I have also added devise secret key. Additionally, I have added Nodejs and Ruby to my build packs.
The build was successful! and yet when I open the application, it gives me a 503 error.
I have tried to analyse the log but am unable to find exactly what might be causing this issue. Here's the log, please help! -
> -----> Ruby app detected
> -----> Compiling Ruby/Rails
> -----> Using Ruby version: ruby-2.4.1
> -----> Installing dependencies using bundler 1.15.2
> Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
> Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.2). We suggest you
> upgrade to the latest version of Bundler by running `gem install
> bundler`.
> Fetching gem metadata from https://rubygems.org/.........
> Fetching version metadata from https://rubygems.org/..
> Fetching dependency metadata from https://rubygems.org/.
> Using rake 12.3.1
> Using concurrent-ruby 1.0.5
> Using minitest 5.11.3
> Using thread_safe 0.3.6
> Using builder 3.2.3
> Using erubi 1.7.1
> Using mini_portile2 2.3.0
> Using crass 1.0.4
> Using rack 2.0.5
> Using nio4r 2.3.1
> Using websocket-extensions 0.1.3
> Using mini_mime 1.0.0
> Using arel 9.0.0
> Using mimemagic 0.3.2
> Using execjs 2.7.0
> Using aws-eventstream 1.0.0
> Using aws-partitions 1.90.0
> Using aws-sigv4 1.0.2
> Using jmespath 1.4.0
> Using bcrypt 3.1.12
> Using msgpack 1.2.4
> Using rb-fsevent 0.10.3
> Using ffi 1.9.23
> Using bundler 1.15.2
> Using climate_control 0.2.0
> Using cocoon 1.2.11
> Using coffee-script-source 1.12.2
> Using method_source 0.9.0
> Using thor 0.20.0
> Using orm_adapter 0.5.0
> Using temple 0.8.0
> Using tilt 2.0.8
> Using multi_json 1.13.1
> Using mime-types-data 3.2016.0521
> Using pg 1.0.0
> Using puma 3.11.4
> Using rails_serve_static_assets 0.0.5
> Using rails_stdout_logging 0.0.5
> Using tlsmail 0.0.1
> Using turbolinks-source 5.1.0
> Using tzinfo 1.2.5
> Using i18n 1.0.1
> Using nokogiri 1.8.2
> Using rack-test 1.0.0
> Using warden 1.2.7
> Using sprockets 3.7.1
> Using mail 2.7.0
> Using marcel 0.3.2
> Using autoprefixer-rails 8.5.2
> Using uglifier 4.1.11
> Using websocket-driver 0.7.0
> Using bootsnap 1.3.0
> Using rb-inotify 0.9.10
> Using terrapin 0.6.0
> Using coffee-script 2.4.1
> Using aws-sdk-core 3.21.2
> Using mime-types 3.1
> Using rails_12factor 0.0.3
> Using turbolinks 5.1.1
> Using activesupport 5.2.0
> Using haml 5.0.4
> Using loofah 2.2.2
> Using aws-sdk-kms 1.5.0
> Using sass-listen 4.0.0
> Using rails-dom-testing 2.0.3
> Using globalid 0.4.1
> Using activemodel 5.2.0
> Using jbuilder 2.7.0
> Using aws-sdk-s3 1.13.0
> Using activejob 5.2.0
> Using activerecord 5.2.0
> Using paperclip 6.0.0
> Using rails-html-sanitizer 1.0.4
> Using sass 3.5.6
> Using actionview 5.2.0
> Using bootstrap-sass 3.3.7
> Using actionpack 5.2.0
> Using actioncable 5.2.0
> Using actionmailer 5.2.0
> Using activestorage 5.2.0
> Using railties 5.2.0
> Using sprockets-rails 3.2.1
> Using simple_form 4.0.1
> Using coffee-rails 4.2.2
> Using responders 2.4.0
> Using jquery-rails 4.3.3
> Using rails 5.2.0
> Using sass-rails 5.0.7
> Using devise 4.4.3
> Bundle complete! 29 Gemfile dependencies, 89 gems now installed.
> Gems in the groups development and test were not installed.
> Bundled gems are installed into ./vendor/bundle.
> Bundle completed (3.48s)
> Cleaning up the bundler cache.
> Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.2). We suggest you
> upgrade to the latest version of Bundler by running `gem install
> bundler`.
> The latest bundler is 1.16.2, but you are currently running 1.15.2.
> To update, run `gem install bundler`
> -----> Installing node-v8.10.0-linux-x64
> -----> Detecting rake tasks
> -----> Preparing app for Rails asset pipeline
> Running: rake assets:precompile
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/smtp.rb:806:
> warning: already initialized constant Net::SMTPSession
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/smtp.rb:806:
> warning: previous definition of SMTPSession was here
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:687:
> warning: already initialized constant Net::POP
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:687:
> warning: previous definition of POP was here
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:688:
> warning: already initialized constant Net::POPSession
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:688:
> warning: previous definition of POPSession was here
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:689:
> warning: already initialized constant Net::POP3Session
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:689:
> warning: previous definition of POP3Session was here
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:702:
> warning: already initialized constant Net::APOPSession
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:702:
> warning: previous definition of APOPSession was here
> Yarn executable was not detected in the system.
> Download Yarn at https://yarnpkg.com/en/docs/install
> Asset precompilation completed (1.67s)
> Cleaning assets
> Running: rake assets:clean
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/smtp.rb:806:
> warning: already initialized constant Net::SMTPSession
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/smtp.rb:806:
> warning: previous definition of SMTPSession was here
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:687:
> warning: already initialized constant Net::POP
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:687:
> warning: previous definition of POP was here
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:688:
> warning: already initialized constant Net::POPSession
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:688:
> warning: previous definition of POPSession was here
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:689:
> warning: already initialized constant Net::POP3Session
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:689:
> warning: previous definition of POP3Session was here
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:702:
> warning: already initialized constant Net::APOPSession
> /tmp/build_f381a7cc4444b081c9f6475d04f8ebb1/vendor/bundle/ruby/2.4.0/gems/tlsmail-0.0.1/lib/net/pop.rb:702:
> warning: previous definition of APOPSession was here
> ###### WARNING:
> We detected that some binary dependencies required to
> use all the preview features of Active Storage are not
> present on this system.
>
> For more information please see:
> https://devcenter.heroku.com/articles/active-storage-on-heroku
>
> ###### WARNING:
> No Procfile detected, using the default web server.
> We recommend explicitly declaring how to boot your server process via a Procfile.
> https://devcenter.heroku.com/articles/ruby-default-web-server
> -----> Discovering process types
> Procfile declares types -> (none)
> Default types for buildpack -> console, rake, web, worker
> -----> Compressing...
> Done: 51.9M
As per the description provided it would be better if you could share the heroku logs as well but meanwhile as described about 503 status code.
A 503 error means "Service Unavailable".
Heroku returns a 503 error when an HTTP request times out between the Heroku routing mesh and your application,
including when the application failed to boot.
This timeout limit is set to 30 seconds, as documented by Heroku, and shows up in the logs as follows.
Please find the below link to get a better understanding of the above description:
http://artsy.github.io/blog/2012/11/15/how-to-monitor-503s-and-timeout-on-heroku/
Check if your page load and queries are well inside the 30 seconds.
For query monitoring use "bullet gem" so that they can be minimized.
Hope it helps!!
Run console from more option on the right top of the application. Open console You can see this kind of console there and input rails console there. heroku run rails console
Then, you will see the complete log of the application and you will find the correct issue that leads the application to 503 status. My issue was adapter typo

Errno::EACCES: Permission denied # rb_sysopen error when running Bundle Install

When I run Bundle Install I get the following error:
mark$ bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Using builder 3.2.2
Using ffi 1.9.14
Using gherkin 4.0.0
Using cucumber-wire 0.0.1
Using diff-lcs 1.2.5
Using multi_json 1.11.2
Using multi_test 0.1.2
Using rubyzip 1.2.0
Using websocket 1.2.3
Using bundler 1.11.2
Using childprocess 0.5.9
Using cucumber-core 1.5.0
Installing selenium-webdriver 2.53.4
Errno::EACCES: Permission denied # rb_sysopen - /Users/mark/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-2.53.4/CHANGES
Using cucumber 2.4.0
An error occurred while installing selenium-webdriver (2.53.4), and Bundler
cannot continue.
Make sure that `gem install selenium-webdriver -v '2.53.4'` succeeds before
bundling.
Any help how to resolve this would be greatly appreciated.

Unable to install public_suffix while trying to install bundle for Jekyll Github pages

I am following the instructions here: https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/ to set up Jekyll with Guthub on Ubuntu 14.04 and I'm running into a problem when I try to run "bundle install". Here's the output I get:
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Rubygems 1.8.23 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
Your user account isn't allowed to install to the system Rubygems.
You can cancel this installation and run:
bundle install --path vendor/bundle
to install the gems into ./vendor/bundle/, or you can enter your password
and install the bundled gems to Rubygems using sudo.
Password:
Installing RedCloth 4.2.9 with native extensions
Using i18n 0.7.0
Using json 1.8.3
Installing minitest 5.8.3
Using thread_safe 0.3.5
Using addressable 2.4.0
Installing blankslate 2.1.2.4
Installing fast-stemmer 1.0.2 with native extensions
Using coffee-script-source 1.10.0
Using execjs 2.7.0
Using colorator 0.1
Using ffi 1.9.10
Using multipart-post 2.0.0
Using gemoji 2.1.0
Using net-dns 0.8.0
Installing public_suffix 1.5.3
Gem::InstallError: public_suffix requires Ruby version >= 2.0.
Using jekyll-paginate 1.1.0
Using sass 3.4.22
Using rb-fsevent 0.9.7
Installing kramdown 1.5.0
Installing liquid 2.6.1
Using mercenary 0.3.6
Installing posix-spawn 0.3.11 with native extensions
Installing yajl-ruby 1.2.1 with native extensions
Installing redcarpet 3.1.2 with native extensions
Using safe_yaml 1.0.4
Using mini_portile2 2.1.0
Using pkg-config 1.1.7
Installing jekyll-sitemap 0.6.3
Installing maruku 0.7.0
Installing rdiscount 2.1.7 with native extensions
Using terminal-table 1.6.0
Using bundler 1.12.5
Using tzinfo 1.2.2
Installing parslet 1.5.0
Installing classifier-reborn 2.0.4
Using coffee-script 2.4.1
Using ethon 0.9.0
Using rb-inotify 0.9.7
Using faraday 0.9.2
An error occurred while installing public_suffix (1.5.3), and Bundler cannot continue.
Make sure that `gem install public_suffix -v '1.5.3'` succeeds before bundling.
When I run "sudo gem install public_suffix -v '1.5.3'" I get:
Successfully installed public_suffix-1.5.3
Parsing documentation for public_suffix-1.5.3
Done installing documentation for public_suffix after 0 seconds
1 gem installed
When I run "ruby --version" I get:
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
Any idea what to try next?

Resources