Hey,
Sorry, should have included that info.

The error raised when using require with a widget inheriting from Shoes::Widget is:

  private method 'gsub' called for nil:NilClass

on line 349 inside shoes.rb. Which isn't much help since that's the eval line.

And a demonstration of the Shoes.load problem with a widget defined in the some_dir/thing.rb:

First = File.expand_path(__FILE__)
Shoes.load(File.dirname(__FILE__)+ "/some_dir/thing.rb")
Second = File.expand_path(__FILE__)

Shoes.app do
  stack do
    para First
    para Second
  end
end

Second is the file path of some_dir/thing.rb, which is probably expected behavior.

Reply via email to