examples/rails/packages/database.rb in sprinkle-0.5.0.rc1 vs examples/rails/packages/database.rb in sprinkle-0.5.0
- old
+ new
@@ -1,9 +1,12 @@
package :mysql, :provides => :database do
description 'MySQL Database'
+
apt %w( mysql-server mysql-client )
end
-package :mysql_driver do
+package :ruby_mysql_driver do
description 'Ruby MySQL database driver'
- gem 'mysql'
+ requires :mysql
+
+ gem 'mysql2'
end