Skip to content

Instantly share code, notes, and snippets.

@ab5tract
Created September 30, 2008 06:36
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 ab5tract/13758 to your computer and use it in GitHub Desktop.
Save ab5tract/13758 to your computer and use it in GitHub Desktop.
john@Curts-MacBook ~/ruby/pages[hashin]% waves-console
./waves/lib/runtime/runtime.rb:32:in `send': undefined method `cache' for nil:NilClass (NoMethodError)
from ./waves/lib/runtime/runtime.rb:32:in `method_missing'
from ./waves/lib/layers/cache/file.rb:10:in `included'
from ./lib/application.rb:12:in `include'
from ./lib/application.rb:12
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
from ./startup.rb:1
from ./waves/lib/runtime/runtime.rb:50:in `load'
from ./waves/lib/runtime/runtime.rb:50:in `initialize'
from ./waves/lib/runtime/console.rb:10:in `new'
from ./waves/lib/runtime/console.rb:10:in `load'
from ./waves/lib/commands/waves-console.rb:23
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
from /usr/bin/waves-console:8
# this was after un-including the file layer...
john@Curts-MacBook ~/ruby/pages[hashin]% waves-console
I, [2008-09-30 02:38:21 #1855] INFO -- : Waves Runtime 0.8.0 **
>> x = Waves::Caches::Hash.new
=> #<Waves::Caches::Hash:0x1ccbb58 @cache={}>
>> x[:l] = :k
NoMethodError: undefined method `synchronize' for #<Waves::Console:0x1157380 @log=Waves::Logger, @options={}>
from ./waves/lib/runtime/runtime.rb:32:in `send'
from ./waves/lib/runtime/runtime.rb:32:in `method_missing'
from ./waves/lib/cache/cache-class.rb:33:in `store'
from ./waves/lib/cache/cache-class.rb:19:in `[]='
from (irb):2
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment