Skip to content

Instantly share code, notes, and snippets.

@mmcgrana
Created July 20, 2012 04:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmcgrana/d171c05c1ddd4f11f64d to your computer and use it in GitHub Desktop.
Save mmcgrana/d171c05c1ddd4f11f64d to your computer and use it in GitHub Desktop.
~ $ heroku version
heroku-toolbelt/2.29.0 (universal-darwin11.0) ruby/1.8.7
~ $ heroku plugins:update
Updating heroku-anvil... done
Updating heroku-simulations... done
Updating heroku-sudo... done
Updating manager-cli... done
Updating production-check... done
~ $ cd ~/repos/canary_ruby
~/repos/canary_ruby(master) $ heroku create test-anvil
Creating test-anvil... done, stack is cedar
http://test-anvil.herokuapp.com/ | git@heroku.com:test-anvil.git
~/repos/canary_ruby(master) $ heroku build -r -a test-anvil
Generating app manifest... done
Uploading new files... done, 5 files needed
Launching build process... done
Fetching app... done
Fetching buildpack... done
Detecting buildpack... done, Buildkit+Ruby/Rack
Fetching cache... done
Compiling app...
Compiling for Ruby/Rack
Installing dependencies using Bundler version 1.2.0.pre
Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment
Using rack (1.4.1)
Using bundler (1.2.0.pre)
Your bundle is complete! It was installed into ./vendor/bundle
Cleaning up the bundler cache.
Writing .profile... done
Writing .profile.d/buildpack.sh... done
Putting cache... done
Creating slug... done
Uploading slug... done
Success, slug is https://api.anvilworks.org/slugs/d8328d01-d225-11e1-9d69-6f66c2d66e27.tgz
Releasing to test-anvil... done, v2
~/repos/canary_ruby(master) $ heroku scale web=1 -a test-anvil
Scaling web processes... done, now running 1
~/repos/canary_ruby(master) $ curl -i https://test-anvil.herokuapp.com
curl: (52) Empty reply from server
~/repos/canary_ruby(master) $ heroku logs -a test-anvil
2012-07-20T04:46:43+00:00 heroku[api]: Release v2 created by mark@heroku.com
2012-07-20T04:46:43+00:00 heroku[api]: Anvil deploy by mark@heroku.com
2012-07-20T04:47:11+00:00 heroku[api]: Scale to web=1 by mark@heroku.com
2012-07-20T04:48:36+00:00 heroku[router]: Error H99 (Platform error) -> GET test-anvil.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
~/repos/canary_ruby(master) $ git push git@heroku.com:test-anvil.git master
Counting objects: 58, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (43/43), done.
Writing objects: 100% (58/58), 5.10 KiB, done.
Total 58 (delta 24), reused 35 (delta 13)
-----> Heroku receiving push
-----> Ruby/Rack app detected
-----> Installing dependencies using Bundler version 1.2.0.pre
Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment
Fetching gem metadata from http://rubygems.org/..
Installing rack (1.4.1)
Using bundler (1.2.0.pre)
Your bundle is complete! It was installed into ./vendor/bundle
Cleaning up the bundler cache.
-----> Discovering process types
Procfile declares types -> (none)
Default types for Ruby/Rack -> console, rake, web
-----> Compiled slug size is 364K
-----> Launching... done, v4
http://test-anvil.herokuapp.com deployed to Heroku
To git@heroku.com:test-anvil.git
* [new branch] master -> master
~/repos/canary_ruby(master) $ curl -i https://test-anvil.herokuapp.com
HTTP/1.1 200 OK
Content-Type: text/plain
Date: Fri, 20 Jul 2012 04:50:29 GMT
Server: WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
Content-Length: 3
Connection: keep-alive
OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment