notifies :run, "execute[#{rails_directory}/Gemfile]"
notifies :run, "execute[#{rails_directory}/public/assets]"
notifies :delete, "file[#{rails_directory}/public/export/embed.html]"
notifies :run, "execute[#{rails_directory}/Gemfile]"
notifies :run, "execute[#{rails_directory}/public/assets]"
notifies :delete, "file[#{rails_directory}/public/export/embed.html]"
:name => new_resource.database_name,
:username => new_resource.database_username,
:password => new_resource.database_password
:name => new_resource.database_name,
:username => new_resource.database_username,
:password => new_resource.database_password
group "root"
environment "NOKOGIRI_USE_SYSTEM_LIBRARIES" => "yes"
subscribes :run, "gem_package[bundler#{new_resource.ruby}]"
group "root"
environment "NOKOGIRI_USE_SYSTEM_LIBRARIES" => "yes"
subscribes :run, "gem_package[bundler#{new_resource.ruby}]"
- execute rails_directory do
- action :nothing
- command "passenger-config restart-app --ignore-app-not-running --ignore-passenger-not-running #{rails_directory}"
- user "root"
- group "root"
- only_if { ::File.exist?("/usr/bin/passenger-config") }
- end
+ passenger_application rails_directory