Sha256: 596d90dd01a531c5d35eea5dcd5793926c94ee67f483c2f32ac3a6b6fce615e2

Contents?: true

Size: 504 Bytes

Versions: 10

Compression:

Stored size: 504 Bytes

Contents

require 'rubygems'
require 'tmpdir'

require 'ramaze'
require 'sequel'
require 'uv'

Ramaze::Log.debug "Initializing UltraViolet..."

Uv.copy_files "xhtml", __DIR__("public")
Uv.init_syntaxes

UV_PRIORITY_NAMES = %w[ ruby plain_text html css javascript yaml diff ]

STYLE = 'iplastic'

Ramaze::Log.debug "done."

DB_FILE = __DIR__("rapaste.sqlite") # for specs
DB = Sequel.connect("sqlite://#{DB_FILE}")

require 'model/paste'
require 'controller/paste'

Ramaze.start :adapter => :mongrel, :port => 9952

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
Pistos-ramaze-2008.12 examples/app/rapaste/start.rb
Pistos-ramaze-2009.01 examples/app/rapaste/start.rb
Pistos-ramaze-2009.02 examples/app/rapaste/start.rb
manveru-ramaze-2008.12 examples/app/rapaste/start.rb
manveru-ramaze-2009.01 examples/app/rapaste/start.rb
ptomato-ramaze-2009.02.1 examples/app/rapaste/start.rb
ptomato-ramaze-2009.02 examples/app/rapaste/start.rb
ramaze-2009.01 examples/app/rapaste/start.rb
ramaze-2009.03 examples/app/rapaste/start.rb
ramaze-2009.02 examples/app/rapaste/start.rb