Sha256: 5053a8a6bc30d846ce38a4a0a54d847017a12305e56af720f6510cde6c32d5ee

Contents?: true

Size: 1 KB

Versions: 114

Compression:

Stored size: 1 KB

Contents

# Copyright 2006-2009 by Mike Bailey. All rights reserved.
Capistrano::Configuration.instance(:must_exist).load do 
  namespace :deprec do 
    namespace :sqlite do

      desc "Install sqlite"
      task :install, :roles => :db do
        install_deps
        gem2.install "sqlite3-ruby"
      end

      # install dependencies for nginx
      task :install_deps, :roles => :db do
        apt.install( {:base => %w(sqlite3 libsqlite3-ruby libsqlite3-dev)}, :stable )
      end
    end
    
    desc "Create a PostgreSQL user"
    task :create_user do
      # Not needed for sqlite
      # We need these stubs for deprec:rails:setup_database
    end
    
    desc "Create a PostgreSQL Database" 
    task :create_database do
      # Not needed for sqlite
      # We need these stubs for deprec:rails:setup_database
    end
    
    desc "Grant user access to Database" 
    task :grant_user_access_to_database do
      # Not needed for sqlite
      # We need these stubs for deprec:rails:setup_database
    end
    
  end
end

Version data entries

114 entries across 114 versions & 3 rubygems

Version Path
le1t0-deprec-2.1.6.030 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.029 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.028 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.027 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.026 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.025 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.024 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.023 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.022 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.021 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.020 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.019 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.018 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.017 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.016 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.015 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.014 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.013 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.012 lib/deprec/recipes/db/sqlite.rb
le1t0-deprec-2.1.6.011 lib/deprec/recipes/db/sqlite.rb