I have this small app:

Shoes.app do
  @e = edit_line
  button("make little") do
res = Net::HTTP.get(URI.parse("http://is.gd/[EMAIL PROTECTED] }"))
    @box.clear do
      para(link(res, :click => res))
    end
  end

  @box = stack do
    para(link("is.gd", :click => "http://is.gd";))
  end

end

The first time this runs I get the error "uninitialized constant Object::Net".

If I add this snippet:

Shoes.setup do
  gem 'net/http'
end

I get the error "could not find gem net/http locally or in a repository" but the weird thing is that it works perfectly.

I'm running edge Shoes commit 79e425 on Leopard.

Thanks.
Mike

Reply via email to