Class loading errors with tomcat/warbler

In the code below, Offbeat::Logger.new generates this error under
tomcat/warbler, while webrick runs fine. HTTPClient is a third party
ruby gem that’s specified in Gemfile. Funny thing is, it’s been there
for a while and this error only cropped up after I added some new
gems. Looks like an ordering issue with class loading that’s not
accounting for the non standard HTTPClient class name.

Expected lib/offbeat/http_client.rb to define HTTPClient

module Offbeat
class HttpClient
end

class Logger

def initialize
@client = HTTPClient
end

end
end

Chris