Show
Ignore:
Timestamp:
09/26/2007 17:39:26 (14 months ago)
Author:
zimbatm
Message:

Command-line fixes. Ticket #93 solved.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/camping/server.rb

    r207 r228  
    1111  def initialize(conf, paths = []) 
    1212    unless conf.database 
    13       unless conf.db 
    14         raise "!! No home directory found.  Please specify a database file, see --help." 
    15       end 
    16       conf.database = {:adapter => 'sqlite3', :database => conf.db} 
     13      raise "!! No home directory found.  Please specify a database file, see --help." 
    1714    end 
    1815