Show
Ignore:
Timestamp:
06/08/2006 14:21:32 (2 years ago)
Author:
why
Message:
  • lib/camping.rb: new Camping::Apps stores all app modules.
  • examples/*: updated the postambles per zimbatm's #28.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/blog/blog.rb

    r83 r110  
    272272 
    273273if __FILE__ == $0 
    274   require 'mongrel/camping' 
     274  begin 
     275    require 'mongrel/camping' 
     276  rescue LoadError => e 
     277    abort "** Try running `camping #$0' instead." 
     278  end 
    275279 
    276280  Blog::Models::Base.establish_connection :adapter => 'sqlite3', :database => 'blog.db'