Skip to content

Commit

Permalink
Rearranged dependencies so that they can be suggested dependencies (r…
Browse files Browse the repository at this point in the history
…equires sprinkle 0.2.3) and cleanup the install.rb
  • Loading branch information
benschwarz committed Apr 17, 2009
1 parent 6c6e688 commit e19e1fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/stack/mysql.rb
Expand Up @@ -5,6 +5,8 @@
verify do
has_executable 'mysql'
end

recommends :mysql_driver
end

package :mysql_driver, :provides => :ruby_database_driver do
Expand All @@ -15,5 +17,5 @@
has_gem 'mysql'
end

requires :mysql, :ruby_enterprise
requires :ruby_enterprise
end
4 changes: 3 additions & 1 deletion config/stack/postgresql.rb
Expand Up @@ -5,6 +5,8 @@
verify do
has_executable 'psql'
end

recommends :postgresql_driver
end

package :postgresql_driver, :provides => :ruby_database_driver do
Expand All @@ -15,5 +17,5 @@
has_gem 'postgres'
end

requires :postgres, :ruby_enterprise
requires :ruby_enterprise
end

0 comments on commit e19e1fa

Please sign in to comment.