- file "/usr/lib/ruby/1.8/rack.rb" do
- action :delete
- end
-
- declare_resource :directory, "/usr/lib/ruby/1.8/rack" do
- action :delete
- recursive true
+ gem_package "bundler#{new_resource.ruby}" do
+ package_name "pkg-config"
+ gem_binary "gem#{new_resource.ruby}"
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}]"