Skip to content

Instantly share code, notes, and snippets.

View washu's full-sized avatar

Sal Scotto washu

  • Colorado Springs, CO
View GitHub Profile
@washu
washu / gist:6992780
Created October 15, 2013 14:49
Crash log Rubinius 2.0
Rubinius Crash Report #rbxcrashreport
Error: signal SIGSEGV
[[Backtrace]]
0 ruby 0x00000001079df353 _ZN8rubiniusL12segv_handlerEi + 547
1 libsystem_c.dylib 0x00007fff8c38e90a _sigtramp + 26
2 ??? 0x00000001119f3038 0x0 + 4590612536
3 ruby 0x0000000107a8641e _ZN8rubinius12ObjectMemory13collect_youngEPNS_5StateEPNS_6GCDataEPNS_17YoungCollectStatsE + 94
4 ruby 0x0000000107a8619f _ZN8rubinius12ObjectMemory13collect_maybeEPNS_5StateERNS_11GCTokenImplEPNS_9CallFrameE + 319
@washu
washu / gist:7815612
Last active December 30, 2015 10:19
failure with rubysl
/usr/local/rvm/rubies/rbx-2.2.1/bin/rbx /usr/local/rvm/gems/rbx-2.2.1@global/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
** Invoke assets:precompile:all (first_time)
** Invoke assets:cache:clean (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute assets:cache:clean
** Execute assets:precompile:all
An exception occurred running at_exit handlers
@washu
washu / gist:8405786
Created January 13, 2014 18:48
dataset
Reserved Session Data
#<Thread:0xa0254 id=23 dead>
#<Thread:0x78070 id=16 dead>
#<Thread:0xa0290 id=24 sleep>
#<Thread:0xa7ca4 id=27 dead>
#<Thread:0x780a8 id=17 sleep>
#<Thread:0xa7cc4 id=28 run>
#<Thread:0x8504 id=1 sleep>
Rails.logger.info "Starting Reaper #{@frequency} #{@pool}"
Thread.new(@frequency, @pool) do |t, p|
begin
loop do
begin
sleep t
Rails.logger.info "Reaping ...."
p.reap
rescue
Rails.logger.info "Error during reaping #{$!}"
rbx-2.2.6@aztec-rails4/gems/mongoid-4.0.0.beta1/lib/mongoid/criteria.rb:523:in `new_record? (method_missing)'
/Users/washu/.rvm/gems/rbx-2.2.6@aztec-rails4/gems/mongoid-4.0.0.beta1/lib/mongoid/relations/referenced/many.rb:413:in `method_missing'
/Users/washu/.rvm/gems/rbx-2.2.6@aztec-rails4/gems/mongoid-4.0.0.beta1/lib/mongoid/scopable.rb:238:in `with_scope'
/Users/washu/.rvm/gems/rbx-2.2.6@aztec-rails4/gems/mongoid-4.0.0.beta1/lib/mongoid/relations/referenced/many.rb:412:in `new_record? (method_missing)'
/Users/washu/.rvm/gems/rbx-2.2.6@aztec-rails4/gems/mongoid-4.0.0.beta1/lib/mongoid/relations/auto_save.rb:43:in `changed_for_autosave?'
/Users/washu/.rvm/gems/rbx-2.2.6@aztec-rails4/gems/mongoid-4.0.0.beta1/lib/mongoid/relations/auto_save.rb:72:in `autosave'
kernel/bootstrap/array.rb:66:in `each'
/Users/washu/.rvm/gems/rbx-2.2.6@aztec-rails4/gems/mongoid-4.0.0.beta1/lib/mongoid/relations/auto_save.rb:72:in `autosave'
/Users/washu/.rvm/gems/rbx-2.2.6@aztec-rails4/gems/mongoid-4.0.0.beta1/lib/mongoid/relations
kernel/common/string.rb:1571:in `original_concat (<<)'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/activesupport-4.1.1/lib/active_support/core_ext/string/output_safety.rb:154:in `safe_concat'
/usr/local/aztec-ui/app/views/layouts/content_player.html.slim:52:in `_app_views_layouts_content_player_html_slim__1299841855085888491_712204'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/actionview-4.1.1/lib/action_view/template.rb:145:in `render'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in `instrument'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in `instrument'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/actionview-4.1.1/lib/action_view/template.rb:339:in `instrument'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/actionview-4.1.1/lib/action_vi
/usr/local/rvm/rubies/rbx-2.2.7/gems/gems/rubysl-date-2.0.6/lib/rubysl/date/date.rb:812:in `new! (civil)'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/rubysl-date-2.0.6/lib/rubysl/date/date.rb:1826:in `now'
/usr/local/aztec-ui/app/controllers/home_controller.rb:44:in `ping'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/actionpack-4.1.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/actionpack-4.1.1/lib/abstract_controller/base.rb:189:in `process_action'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/actionpack-4.1.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/actionpack-4.1.1/lib/abstract_controller/callbacks.rb:20:in `process_action'
kernel/bootstrap/proc.rb:20:in `call'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:113:in `call'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/activesupport-4.1.1/lib/active_support/c
kernel/common/string.rb:1571:in `original_concat (<<)'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/activesupport-4.1.1/lib=
/active_support/core_ext/string/output_safety.rb:154:in `safe_concat'
/usr/local/aztec-ui/app/views/layouts/content_player.html.slim:52:in `_=
app_views_layouts_content_player_html_slim__1586667148563142372_558852'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/actionview-4.1.1/lib/ac=
tion_view/template.rb:145:in `render'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/activesupport-4.1.1/lib=
/active_support/notifications.rb:159:in `instrument'
/usr/local/rvm/gems/rbx-2.2.7@aztec-rails4/gems/activesupport-4.1.1/lib=
undefined conversion for '
By the end of this lesson you will be able to:
Understand the basics of economics
Identify and use fundamental economics terminology and concepts
Relate markets, entrepreneurship, productivity and other concepts to each other
TypeError: Coercion error: :child.to_str => String failed
(in /usr/local/aztec-ui/app/assets/javascripts/activities.js)
kernel/common/type.rb:26:in `execute_coerce_to'
kernel/common/type.rb:18:in `coerce_to'
kernel/common/kernel.rb:147:in `StringValue'
kernel/common/type.rb:339:in `coerce_to_path'
kernel/common/file.rb:1112:in `initialize'
kernel/alpha.rb:94:in `new'
kernel/common/io.rb:624:in `open'
kernel/common/process.rb:218:in `setup_redirects'