Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit dcc71a85655d8c78d1bd0f0b3a20aadcc8049128 1 parent ba41c55
Tyler Rick authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.