Skip to content

Instantly share code, notes, and snippets.

@joshuajansen
Created September 7, 2016 08:48
Show Gist options
  • Save joshuajansen/db6f69d3df2de3321dc555dde4e272a8 to your computer and use it in GitHub Desktop.
Save joshuajansen/db6f69d3df2de3321dc555dde4e272a8 to your computer and use it in GitHub Desktop.
rails-example dokku
joshua-fh:code joshuajansen$ git clone git@github.com:jvanbaarsen/rails-example.git
Cloning into 'rails-example'...
remote: Counting objects: 119, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 119 (delta 11), reused 6 (delta 6), pack-reused 102
Receiving objects: 100% (119/119), 25.50 KiB | 0 bytes/s, done.
Resolving deltas: 100% (23/23), done.
Checking connectivity... done.
joshua-fh:code joshuajansen$ cd rails-example/
joshua-fh:rails-example joshuajansen$ git remote add dokku dokku@95.85.37.9:rails-example
joshua-fh:rails-example joshuajansen$ git push dokku master
Counting objects: 110, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (83/83), done.
Writing objects: 100% (110/110), 24.55 KiB | 0 bytes/s, done.
Total 110 (delta 18), reused 110 (delta 18)
-----> Cleaning up...
-----> Building rails-example from herokuish...
-----> Adding BUILD_ENV to build environment...
-----> Ruby app detected
-----> Compiling Ruby/Rails
!
! An error occurred while installing Ruby ruby-2.2.4
! For supported Ruby versions see https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
! Note: Only the most recent version of Ruby 2.1 is supported on Cedar-14
! Command: 'set -o pipefail; curl -L --fail --retry 3 --retry-delay 1 --connect-timeout 5 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-2.2.4.tgz -s -o - | tar zxf - ' failed unexpectedly:
!
! gzip: stdin: invalid compressed data--format violated
! tar: Unexpected EOF in archive
! tar: Unexpected EOF in archive
! tar: Error is not recoverable: exiting now
!
To dokku@95.85.37.9:rails-example
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@95.85.37.9:rails-example'
joshua-fh:rails-example joshuajansen$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment