Sha256: a4c127b672602217eba17375aca22ffbc7a0c818ebe8089a7bce7c8127adff73

Contents?: true

Size: 490 Bytes

Versions: 4

Compression:

Stored size: 490 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

4 entries across 4 versions & 2 rubygems

Version Path
plainprograms-merb_virtuozzo-0.2.0 lib/merb_virtuozzo.rb
plainprograms-merb_virtuozzo-0.2.1 lib/merb_virtuozzo.rb
merb_virtuozzo-0.2.0 lib/merb_virtuozzo.rb
merb_virtuozzo-0.2.1 lib/merb_virtuozzo.rb