Skip to content

Instantly share code, notes, and snippets.

Intergalactic:web andy$ rails s
WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.9.0
=> Booting WEBrick
=> Rails 3.2.13 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2013-10-25 17:16:24] INFO WEBrick 1.3.1
[2013-10-25 17:16:24] INFO ruby 1.9.3 (2012-12-25) [x86_64-darwin12.2.0]
[2013-10-25 17:16:24] INFO WEBrick::HTTPServer#start: pid=3287 port=3000
#<SocketError: getaddrinfo: nodename nor servname provided, or not known>
Intergalactic:web andy$ rails s -e staging
WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.9.0
=> Booting WEBrick
=> Rails 3.2.13 application starting in staging on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2013-10-25 17:14:05] INFO WEBrick 1.3.1
[2013-10-25 17:14:05] INFO ruby 1.9.3 (2012-12-25) [x86_64-darwin12.2.0]
[2013-10-25 17:14:05] INFO WEBrick::HTTPServer#start: pid=3253 port=3000
Started GET "/" for 127.0.0.1 at 2013-10-25 17:14:31 +0300
Using coffee-rails (3.2.2)
Using diff-lcs (1.2.4)
Installing eventmachine (1.0.3) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/andy/.rvm/rubies/ruby-1.9.3-p362/bin/ruby extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
ProjectMembership Load (31.8ms) SELECT `project_memberships`.* FROM `project_memberships` WHERE `project_memberships`.`user_id` = 63730 AND `project_memberships`.`project_id` = 1055 LIMIT 1
SQL (217.3ms) UPDATE `project_memberships` SET `updated_at` = '2013-10-16 12:58:27' WHERE `project_memberships`.`id` = 564624
User Exists (23.4ms) SELECT 1 AS one FROM `users` INNER JOIN `project_memberships` ON `users`.`id` = `project_memberships`.`user_id` WHERE `project_memberships`.`project_id` = 1055 AND `users`.`id` = 63730 LIMIT 1
Rendered error_interface/index.html.erb within layouts/error_interface (0.4ms)
Rendered layouts/_head.html.erb (1.9ms)
Rendered layouts/_kiss.html.erb (0.1ms)
Rendered layouts/_footer_for_common_js.html.erb (81.1ms)
Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 28669 LIMIT 1
Subscription Load (0.3ms) SELECT `subscriptions`.* FROM `subscriptions` WHERE `su
Intergalactic:goab andy$ git checkout master
Previous HEAD position was 01c6d01... Warning when CF are too slow.
Switched to branch 'master'
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
(use "git pull" to update your local branch)
Intergalactic:goab andy$ git pull
Updating d940815..01c6d01
Fast-forward
models/files.go | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
Intergalactic:goab andy$ go run cmd/api/main.go -v=2 -logtostderr
I1016 15:05:17.493975 08099 main.go:74] listening on :8080 using dev environment and shard #6
I1016 15:07:23.073608 08099 main.go:127] context=4258763806179060645 GET /api/v3/projects?key=6aa9fafd92d1f4710e18b5d6267b03ebd3af9ea1 200 30646 "{\"projects\":[{\"id\":90755,\"name\":\"somenewproject\",\"noticeTotalCount\":0,\"rejectionCount\":0,\"fileCount\""
I1016 15:07:23.924338 08099 main.go:127] context=8500180911998409265 GET /api/v3/projects/1055/groups?key=6aa9fafd92d1f4710e18b5d6267b03ebd3af9ea1 200 11950 "{\"groups\":[{\"id\":12,\"projectId\":1055,\"isGlobal\":false,\"resolved\":false,\"errors\":[{\"type\":\"Trololol 1"
I1016 15:07:41.796214 08099 main.go:127] context=1819788774691742365 GET /api/v3/projects?key=6aa9fafd92d1f4710e18b5d6267b03ebd3af9ea1 200 30646 "{\"projects\":[{\"id\":90755,\"name\":\"somenewproject\",\"noticeTotalCount\":0,\"rejectionCount\":0,\"fileCount\""
I1016 15:07:41.820839 08099 main.go:127] context=4837037436832914
Intergalactic:goab andy$ go run cmd/api/main.go -v=2 -logtostderr
# github.com/airbrake/goab/rediscache
rediscache/rediscache.go:57: cannot use item.Expiration (type time.Duration) as type int64 in function argument
# github.com/airbrake/goab/taskqueue
taskqueue/queue.go:242: cannot use payloadExpiration (type time.Duration) as type int64 in function argument
taskqueue/queue.go:286: cannot use payloadExpiration (type time.Duration) as type int64 in function argument
Intergalactic:goab andy$
{{#if counters.attributes.groupUnresolvedCount }}
<b class="red">{{counters.attributes.groupUnresolvedCount}}</b>
<b class="green">{{counters.attributes.groupResolvedCount}}</b>
{{/else}}
<b class="grey">-</b>
<b class="grey">-</b>
{{/if}}
Project Load (0.2ms) SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 85087 LIMIT 1
CACHE (0.0ms) SELECT `features`.* FROM `features` WHERE `features`.`name` = 'sms' LIMIT 1
CACHE (0.0ms) SELECT 1 AS one FROM `features` INNER JOIN `feature_flags` ON `features`.`id` = `feature_flags`.`feature_id` WHERE `feature_flags`.`account_id` = 28669 AND `features`.`id` = 10 LIMIT 1
Project Load (0.3ms) SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 85164 LIMIT 1
CACHE (0.0ms) SELECT `features`.* FROM `features` WHERE `features`.`name` = 'sms' LIMIT 1
CACHE (0.0ms) SELECT 1 AS one FROM `features` INNER JOIN `feature_flags` ON `features`.`id` = `feature_flags`.`feature_id` WHERE `feature_flags`.`account_id` = 28669 AND `features`.`id` = 10 LIMIT 1
Project Load (0.3ms) SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 85579 LIMIT 1
CACHE (0
memcache: memcached
redis: redis-server
resque: bundle exec rake resque:work QUEUE=* INTERVAL=0.5
logs: tail -f /Users/andy/Sites/repository/airbrake-app/log/development.log
api: go run /Users/andy/Sites/gocode/src/github.com/airbrake/goab/app/api.go -c /Users/andy/Sites/gocode/src/github.com/airbrake/goab/app/config/dev.json -logtostderr -v=3
worker: go run /Users/andy/Sites/gocode/src/github.com/airbrake/goab/app/worker.go -c /Users/andy/Sites/gocode/src/github.com/airbrake/goab/app/config/dev.json -logtostderr -v=3
scheduler: go run /Users/andy/Sites/gocode/src/github.com/airbrake/goab/app/scheduler.go -c /Users/andy/Sites/gocode/src/github.com/airbrake/goab/app/config/dev.json -logtostderr -v=3
# coffee: coffee -c -w -o /Users/andy/Sites/repository/airbrake-app/app/assets/javascripts /Users/andy/Sites/repository/airbrake-app/app/assets/coffee