Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #233 from messick/remove_db

remove db template dependancy from complete_* templates
  • Loading branch information...
commit c5ff221be155c572b169d69b89791806b460d915 2 parents 42ac8e6 + 5be6300
@nirvdrum nirvdrum authored
View
9 templates/complete_passenger/templates.rb
@@ -1,9 +0,0 @@
-database_engines = ['mysql', 'postgresql']
-if ! database_engines.any? {|d| @template_dependencies.include?(d)}
- db = Rubber::Util::prompt("DATABASE",
- "The database engine to use (#{database_engines.join(', ')})",
- true,
- 'mysql')
- template_dependencies << db
-end
-
View
8 templates/complete_passenger_nginx/templates.rb
@@ -1,8 +0,0 @@
-database_engines = ['mysql', 'postgresql']
-if ! database_engines.any? {|d| @template_dependencies.include?(d)}
- db = Rubber::Util::prompt("DATABASE",
- "The database engine to use (#{database_engines.join(', ')})",
- true,
- 'mysql')
- template_dependencies << db
-end
View
8 templates/complete_unicorn_nginx/templates.rb
@@ -1,8 +0,0 @@
-database_engines = ['mysql', 'postgresql']
-if ! database_engines.any? {|d| @template_dependencies.include?(d)}
- db = Rubber::Util::prompt("DATABASE",
- "The database engine to use (#{database_engines.join(', ')})",
- true,
- 'mysql')
- template_dependencies << db
-end
Please sign in to comment.
Something went wrong with that request. Please try again.