Class: PoiseApplicationRuby::Resources::BundleInstall::Resource

Inherits:
PoiseRuby::Resources::BundleInstall::Resource
  • Object
show all
Includes:
AppMixin
Defined in:
lib/poise_application_ruby/resources/bundle_install.rb

Overview

Note:

This resource is not idempotent itself, it will always run bundle install.

An application_bundle_install resource to install a Bundler Gemfile in a web application.

Examples:

application '/srv/my_app' do
  bundle_install
end

Since:

  • 4.0.0

Instance Method Summary collapse

Instance Method Details

#after_createdObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Set this resource as the app_state's parent bundle.

Since:

  • 4.0.0



45
46
47
48
49
# File 'lib/poise_application_ruby/resources/bundle_install.rb', line 45

def after_created
  super.tap do |val|
    app_state_bundle(self)
  end
end