Browse files

Worked around this error: Chef::Exceptions::Package: No version

specified, and no candidate version available for ruby-mysql

Apparently no ruby-mysql package available for
Red Hat Enterprise Linux Server release 6.1
  • Loading branch information...
1 parent ba41c55 commit dcc71a85655d8c78d1bd0f0b3a20aadcc8049128 Tyler Rick committed Mar 12, 2012
Showing with 2 additions and 8 deletions.
  1. +2 −8 mysql/recipes/client.rb
View
10 mysql/recipes/client.rb
@@ -42,12 +42,6 @@
end
end
-if platform?(%w{ redhat centos fedora suse scientific amazon })
- package 'ruby-mysql'
-elsif platform?(%w{ debian ubuntu })
- package "libmysql-ruby"
-else
- gem_package "mysql" do
- action :install
- end
+gem_package "mysql" do
+ action :install
end

0 comments on commit dcc71a8

Please sign in to comment.