Sha256: 1d5bfa109dd9ace9c1407620192a1a928e60f9de3bfbca3fcb4afa0f1ebf4c07

Contents?: true

Size: 489 Bytes

Versions: 2

Compression:

Stored size: 489 Bytes

Contents

# make sure we're running inside Merb
if defined?(Merb::Plugins)
  dependency 'virtuozzo', '~>0.5'

  require File.join(File.dirname(__FILE__) / "merb_virtuozzo" / "merb_virtuozzo")
  
  Merb::BootLoader.before_app_loads do
    # code that can be required before the application loads
    Merb::Virtuozzo.connect
  end
  
  Merb::BootLoader.after_app_loads do
    # code that can be required after the application loads
  end
  
  Merb::Plugins.add_rakefiles "merb_virtuozzo/merbtasks"
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
plainprograms-merb_virtuozzo-0.2.2 lib/merb_virtuozzo.rb
merb_virtuozzo-0.2.2 lib/merb_virtuozzo.rb