Sha256: 651947a2a14476593dac3323f32dd58193564efba9478778681005c21d00c92d
Contents?: true
Size: 715 Bytes
Versions: 28
Compression:
Stored size: 715 Bytes
Contents
module PoolParty module Resources class App < Rails default_options( :rails_version => "2.3.3", :on => :passenger, :at => nil ) def after_loaded(o={}) raise PoolPartyError.create("RailsSiteError", "You must specify a root directory with at") unless self.at case on when :passenger site_name = name apache do passenger_site(:name => site_name, :dir => at, :deploy_dirs => true) end else raise PoolPartyError.create("RailsSiteError", "You must specify a supported rails provider. Supported: [:passenger]") end end end end end
Version data entries
28 entries across 28 versions & 3 rubygems