Sha256: be3a0c3776351515047d3bde87106181e4b0adaf99845254441ea0abb5240b90

Contents?: true

Size: 658 Bytes

Versions: 1

Compression:

Stored size: 658 Bytes

Contents

if scroll?("sqlite3")
  gem "mysql2", :group => :production
else
  gem "mysql2"
end  
# TODO what about Windows?
# TODO what if you only want MySQL in production?

# TODO generate config/database.yml for DBs

# if scroll?("eycloud")
#   mysql_versions = [
#     ["MySQL 5.0", "mysql_50"],
#     ["MySQL 5.5 (beta)", "mysql_55"]
#   ]
#   @mysql_stack = multiple_choice("Create app to which Engine Yard Cloud account?", mysql_versions)
# end

__END__

name: MySQL
description: Use MySQL for production database (and development/testing if SQLite3 not selected)
author: drnic

exclusive: orm
category: persistence
tags: [sql, orm, mysql]

run_before: [eycloud]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ey_rails_wizard-0.5.0 scrolls/mysql.rb