Skip to content

Instantly share code, notes, and snippets.

@jbayer
Last active January 4, 2016 15:29
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 jbayer/8641208 to your computer and use it in GitHub Desktop.
Save jbayer/8641208 to your computer and use it in GitHub Desktop.
$ ls -al
total 8
drwxr-xr-x 4 jamesbayer wheel 136 Jan 26 09:00 .
drwxrwxrwt 24 root wheel 816 Jan 26 15:59 ..
-rw-r--r--@ 1 jamesbayer wheel 102 Jan 26 16:04 .buildpacks
-rw-r--r-- 1 jamesbayer wheel 0 Jan 26 09:00 .gitbuildpack
$ cat .buildpacks
https://github.com/jbayer/git-buildpack.git
https://github.com/cloudfoundry/heroku-buildpack-ruby.git
$ gcf env hello
Getting env variables for app hello in org jbayer-normal-org / space development as jbayer+normal@gopivotal.com...
OK
GIT_URL: https://github.com/jbayer/hello-sinatra.git
$ gcf p hello -m 256M -d cfapps.io -n git-hello -b https://github.com/ddollar/heroku-buildpack-multi.git
Updating app hello in org jbayer-normal-org / space development as jbayer+normal@gopivotal.com...
OK
Creating route git-hello.cfapps.io...
OK
Binding git-hello.cfapps.io to hello...
OK
Uploading hello...
Uploading app: 356, 2 files
OK
Stopping app hello in org jbayer-normal-org / space development as jbayer+normal@gopivotal.com...
OK
Starting app hello in org jbayer-normal-org / space development as jbayer+normal@gopivotal.com...
OK
-----> Downloaded app package (4.0K)
-----> Downloaded app buildpack cache (4.0K)
Initialized empty Git repository in /tmp/buildpacks/heroku-buildpack-multi/.git/
=====> Downloading Buildpack: https://github.com/jbayer/git-buildpack.git
=====> Detected Framework: Git
=====> starting git buildpack compile
=====> dir is /tmp/buildpackLmstR
=====> url is https://github.com/jbayer/hello-sinatra.git
=====> branch is is
=====> Downloading git repo: https://github.com/jbayer/hello-sinatra.git
=====> final contents of build dir
total 56
drwxr--r-- 3 vcap vcap 4096 Jan 27 00:05 .
drwxr-xr-x 5 vcap vcap 4096 Jan 27 00:05 ..
-rwxr--r-- 1 vcap vcap 102 Jan 27 00:05 .buildpacks
-rwxr--r-- 1 vcap vcap 0 Jan 27 00:05 .gitbuildpack
-rw-r--r-- 1 vcap vcap 43 Jan 27 00:05 Gemfile
-rw-r--r-- 1 vcap vcap 260 Jan 27 00:05 Gemfile.lock
-rw-r--r-- 1 vcap vcap 11325 Jan 27 00:05 LICENSE
-rw-r--r-- 1 vcap vcap 37 Jan 27 00:05 Procfile
-rw-r--r-- 1 vcap vcap 48 Jan 27 00:05 README.md
drwxr-xr-x 2 vcap vcap 4096 Jan 27 00:05 assets
-rw-r--r-- 1 vcap vcap 41 Jan 27 00:05 config.ru
-rw-r--r-- 1 vcap vcap 248 Jan 27 00:05 foo.rb
-rw-r--r-- 1 vcap vcap 106 Jan 27 00:05 manifest.yml
=====> Downloading Buildpack: https://github.com/cloudfoundry/heroku-buildpack-ruby.git
=====> Detected Framework: Ruby/Rack
-----> Using Ruby version: ruby-1.9.3
-----> Installing dependencies using Bundler version 1.3.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
Fetching gem metadata from http://rubygems.org/..........
Fetching gem metadata from http://rubygems.org/..
Installing rack (1.5.1)
Installing rack-protection (1.3.2)
Installing tilt (1.3.3)
Installing sinatra (1.3.4)
Using bundler (1.3.2)
Your bundle is complete! It was installed into ./vendor/bundle
Cleaning up the bundler cache.
-----> WARNINGS:
You have not declared a Ruby version in your Gemfile.
To set your Ruby version add this line to your Gemfile:"
ruby '1.9.3'"
# See https://devcenter.heroku.com/articles/ruby-versions for more information."
Using release configuration from last framework Ruby/Rack:
---
addons: []
default_process_types:
rake: bundle exec rake
console: bundle exec irb
web: bundle exec rackup config.ru -p $PORT
-----> Uploading droplet (23M)
1 of 1 instances running
App started
Showing health and status for app hello in org jbayer-normal-org / space development as jbayer+normal@gopivotal.com...
OK
requested state: started
instances: 1/1
usage: 256M x 1 instances
urls: git-hello.cfapps.io
state since cpu memory disk
#0 running 2014-01-26 04:06:18 PM 0.0% 17.3M of 256M 51.9M of 1G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment