Sha256: 065522a7f798f7ec9f57da35f1c0a9879d8bee85e9b2e8ab12f335e28722658d
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
# CGI postamble if __FILE__ == $0 <%= @appname %>::Models::Base.establish_connection :adapter => 'sqlite3', :database => 'File.dirname(__FILE__) + "/../../db/#{conf.appname.tableize}.db"' <%= @appname %>::Models::Base.logger = Logger.new(File.dirname(__FILE__) + "/../../log/camping.log") <%= @appname %>.create if <%= @appname %>.respond_to? :create puts <%= @appname %>.run end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bivouac-0.0.1 | lib/bivouac/template/application/postamble_cgi.rb |
bivouac-0.0.2 | lib/bivouac/template/application/postamble_cgi.rb |