puts "merb init called"# $: << File.join(MERB_ROOT, "lib", "sequel", "lib")
Dir[MERB_ROOT+"/lib/*/lib/*.rb"].each {|m|require m }Dir[MERB_ROOT+"/lib/*/bin/*.rb"].each {|m|require m }require'sequel/mysql'# Need to connect to database before loading Sequel::Model classes
puts "Connecting to database..."Sequel.mysql('marble',:host=>'localhost',:user=>'root',:logger=>MERB_LOGGER)requireMERB_ROOT+"/app/controllers/application.rb"Dir[MERB_ROOT+"/app/models/**/*.rb"].each {|m|require m }Dir[MERB_ROOT+"/app/controllers/**/*.rb"].each {|m|require m }Dir[MERB_ROOT+"/app/helpers/*.rb"].each {|m|require m }Dir[MERB_ROOT+"/app/mailers/*.rb"].each {|m|require m }Merb::Gems.load_required
# Get Environment File
require"#{MERB_ROOT}/config/environments/#{MERB_ENV}"## Add your own ruby code here for app specific stuff. This file gets loaded
# after the framework is loaded.