puts "merb init called" # add your own ruby code here for app initialization and load path stuff require 'active_record' ActiveRecord::Base.logger = MERB_LOGGER ActiveRecord::Base.establish_connection( :adapter => 'mysql', :username => 'root', :password => 'xxx', :database => 'merb' ) Dir[DIST_ROOT+"/app/models/*.rb"].each { |m| require m }