Skip to content

Commit

Permalink
Worked around this error: Chef::Exceptions::Package: No version
Browse files Browse the repository at this point in the history
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
Tyler Rick committed Mar 12, 2012
1 parent ba41c55 commit dcc71a8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions mysql/recipes/client.rb
Expand Up @@ -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.