Skip to content

Instantly share code, notes, and snippets.

Intergalactic:marketplace andy$ git push heroku master
Counting objects: 5, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (4/4), 340 bytes, done.
Total 4 (delta 1), reused 0 (delta 0)
-----> Heroku receiving push
-----> Removing .DS_Store files
-----> Ruby/Rack app detected
Intergalactic:marketplace andy$ heroku logs
2012-10-16T22:13:30+00:00 heroku[router]: Blank App -> GET polar-gorge-7452.herokuapp.com/ dyno= queue= wait= service= status=200 bytes=
2012-10-16T22:13:33+00:00 heroku[router]: Blank App -> GET polar-gorge-7452.herokuapp.com/favicon.ico dyno= queue= wait= service= status=200 bytes=
2012-10-16T22:18:40+00:00 heroku[slugc]: Slug compilation started
2012-10-16T22:18:41+00:00 heroku[slugc]: Slug compilation failed: no Cedar-supported app detected
2012-10-16T22:22:27+00:00 heroku[slugc]: Slug compilation started
2012-10-16T22:22:28+00:00 heroku[slugc]: Slug compilation failed: no Cedar-supported app detected
2012-10-16T22:26:04+00:00 heroku[slugc]: Slug compilation started
2012-10-16T22:26:07+00:00 heroku[slugc]: Slug compilation failed: failed to compile Ruby/rack app
2012-10-16T22:27:20+00:00 heroku[slugc]: Slug compilation started
Intergalactic:app andy$ go run api.go -v=2 -logtostderr
/usr/local/Cellar/go/1.1/bin/src/github.com/golang/glog/glog.go:38:2: cannot find package "bufio" in any of:
/usr/local/Cellar/go/1.1/src/pkg/bufio (from $GOROOT)
/usr/local/Cellar/go/1.1/bin/src/bufio (from $GOPATH)
/usr/local/Cellar/go/1.1/bin/src/github.com/vmihailenco/bufio/bufio.go:11:2: cannot find package "bytes" in any of:
/usr/local/Cellar/go/1.1/src/pkg/bytes (from $GOROOT)
/usr/local/Cellar/go/1.1/bin/src/bytes (from $GOPATH)
/usr/local/Cellar/go/1.1/bin/src/github.com/airbrake/goab/cache/cache.go:4:2: cannot find package "container/list" in any of:
/usr/local/Cellar/go/1.1/src/pkg/container/list (from $GOROOT)
/usr/local/Cellar/go/1.1/bin/src/container/list (from $GOPATH)
Intergalactic:app andy$ go run api.go -v=2 -logtostderr
/usr/local/Cellar/go/1.1/bin/src/github.com/golang/glog/glog.go:38:2: cannot find package "bufio" in any of:
/usr/local/Cellar/go/1.1/src/pkg/bufio (from $GOROOT)
/usr/local/Cellar/go/1.1/bin/src/bufio (from $GOPATH)
/usr/local/Cellar/go/1.1/bin/src/github.com/vmihailenco/bufio/bufio.go:11:2: cannot find package "bytes" in any of:
/usr/local/Cellar/go/1.1/src/pkg/bytes (from $GOROOT)
/usr/local/Cellar/go/1.1/bin/src/bytes (from $GOPATH)
/usr/local/Cellar/go/1.1/bin/src/github.com/airbrake/goab/cache/cache.go:4:2: cannot find package "container/list" in any of:
/usr/local/Cellar/go/1.1/src/pkg/container/list (from $GOROOT)
/usr/local/Cellar/go/1.1/bin/src/container/list (from $GOPATH)
Intergalactic:goab andy$ go env
GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/andy/Sites/gocode"
GORACE=""
127.0.0.1 - - [06/Aug/2013 12:33:51] "GET /dashboard HTTP/1.1" 200 - 2.2358
I, [GLOBAL: 06-08-2013 12:33:53 #65724] INFO -- : engine GET: http://matcher-beta.valuationmetricsinc.com:8014/peeraverages?industryId=57201020&market=US
NoMethodError - undefined method `+' for nil:NilClass:
/Users/andy/Sites/repository/Valuation-Metrics/lib/matcher_watcher/mw_user_traffic.rb:10:in `update'
/Users/andy/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/observer.rb:195:in `block in notify_observers'
/Users/andy/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/observer.rb:194:in `each'
/Users/andy/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/observer.rb:194:in `notify_observers'
/Users/andy/Sites/repository/Valuation-Metrics/lib/api_engine.rb:93:in `request_engine'
/Users/andy/Sites/repository/Valuation-Metrics/lib/api_engine.rb:30:in `get'
/Users/andy/Sites/repository/Valuation-Metrics/lib/concerns/vm/cacheable.rb:129:in `block (2 levels) in _with_cache'
Redis 2.6.14 (00000000/0) 64 bit
---------------------------------------------
Intergalactic:Valuation-Metrics andy$ mysql -v
ERROR 1045 (28000): Access denied for user 'andy'@'localhost' (using password: NO)
---------------------------------------------
Intergalactic:Valuation-Metrics andy$ rvm list
Intergalactic:Valuation-Metrics andy$ thin -e local start -p 3000
>> Using rack adapter
W, [GLOBAL: 08-08-2013 13:39:18 #14754] WARN -- : ::ValuationMetrics class is unavailable at the moment
W, [GLOBAL: 08-08-2013 13:39:18 #14754] WARN -- : Cache for MatchingEngine is turned off unless cache_store is set manually
loading config file 'config.yaml'
Process environment time zone is set to 'EEST' but 'UTC' is expected. Start server with environment TZ='UTC'
from /Users/andy/Sites/repository/Valuation-Metrics/server.rb:107:in `block in <class:ValuationMetrics>'
>> Thin web server (v1.5.1 codename Straight Razor)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop
js console:
GET http://0.0.0.0:3000/fundamentals?isin=US5949181045 500 (Internal Server Error) jquery-1.7.1.js:8102
GET http://0.0.0.0:3000/engine/get/targets?maxResults=100&isin=US5949181045 500 (Internal Server Error) jquery-1.7.1.js:8102
------------------------------------------------------------------------------------------------
Intergalactic:Valuation-Metrics andy$ thin -e local start -p 3000
>> Using rack adapter
W, [GLOBAL: 08-08-2013 16:33:11 #19597] WARN -- : ::ValuationMetrics class is unavailable at the moment
Intergalactic:airbrake-app andy$ foreman start -f Procfile.dev
21:43:52 scheduler.1 | started with pid 1919
21:43:52 redis.1 | started with pid 1914
21:43:52 coffee.1 | started with pid 1920
21:43:52 resque.1 | started with pid 1915
21:43:52 logs.1 | started with pid 1916
21:43:52 api.1 | started with pid 1917
21:43:52 worker.1 | started with pid 1918
21:43:52 memcache.1 | started with pid 1913
21:43:52 logs.1 | Rendered plans/_benefits_large.html.erb (0.1ms)