Sha256: bc7eca1b988a746bc845248688dfd77c4e0e429c7d85b650e302d945d4ea98fd

Contents?: true

Size: 561 Bytes

Versions: 28

Compression:

Stored size: 561 Bytes

Contents

module PoolParty
  module Resources
    
    class Rails < Resource
      
      default_options(
        :rails_version => "2.3.3",
        :deployer_user => false
      )
      
      def after_loaded
        has_package "libsqlite3-dev"

        has_gem_package "rails", :version => rails_version
        has_gem_package "sqlite3-ruby", :requires => get_package("libsqlite3-dev")
        
        has_user deployer_user, :home => "/home/#{deployer_user}" if deployer_user
      end
      
    end
    
  end
end

require "#{File.dirname(__FILE__)}/rails/app"

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
auser-poolparty-1.3.0 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.1 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.10 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.11 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.12 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.13 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.14 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.15 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.16 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.17 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.2 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.3 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.4 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.5 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.6 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.7 lib/poolparty/plugins/rails.rb
auser-poolparty-1.3.8 lib/poolparty/plugins/rails.rb
fairchild-poolparty-1.3.17 lib/poolparty/plugins/rails.rb
fairchild-poolparty-1.3.5 lib/poolparty/plugins/rails.rb
poolparty-1.3.15 lib/poolparty/plugins/rails.rb