Skip to content

Instantly share code, notes, and snippets.

@wasnotrice
Created October 13, 2011 02:27
Show Gist options
  • Select an option

  • Save wasnotrice/1283186 to your computer and use it in GitHub Desktop.

Select an option

Save wasnotrice/1283186 to your computer and use it in GitHub Desktop.
maps:rbx-head eric$ rbx -X19 irb
rbx-head :001 > require_relative '../shoes/lib/shoes'
TypeError: Coercion error: nil.to_str => String failed
from Rubinius::Type.coerce_to at kernel/common/type.rb:23
from Kernel(Module)#StringValue at kernel/common/kernel.rb:79
from Rubinius::Type.coerce_to_path at kernel/common/type19.rb:11
from File.dirname at kernel/common/file.rb:346
from Rubinius::CodeLoader.require_relative at kernel/common/codeloader19.rb:24
from Kernel(Object)#require_relative at kernel/common/kernel19.rb:95
from { } in Object#irb_binding at (irb):1
from Rubinius::BlockEnvironment#call_on_instance at kernel/common/block_environment.rb:72
Caused by:
NoMethodError: undefined method `to_str' on nil:NilClass.
from Kernel(NilClass)#to_str (method_missing) at kernel/delta/kernel.rb:79
from Rubinius::Type.coerce_to at kernel/common/type.rb:21
from Kernel(Module)#StringValue at kernel/common/kernel.rb:79
from Rubinius::Type.coerce_to_path at kernel/common/type19.rb:11
from File.dirname at kernel/common/file.rb:346
from Rubinius::CodeLoader.require_relative at kernel/common/codeloader19.rb:24
from Kernel(Object)#require_relative at kernel/common/kernel19.rb:95
from { } in Object#irb_binding at (irb):1
from Rubinius::BlockEnvironment#call_on_instance at kernel/common/block_environment.rb:72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment