diff options
author | Arun Agrawal <arun@fromjaipur.com> | 2011-05-18 10:00:27 +0530 |
---|---|---|
committer | Arun Agrawal <arun@fromjaipur.com> | 2011-05-18 10:00:27 +0530 |
commit | 28cf893d6c95bd4428b030894898587c79a8c6b1 (patch) | |
tree | e33bbe8f16af706b9b4270161aaae48ec90f85d2 | |
parent | 9773f6e1aab6d4e6e714f1582d18b0fbbd8112f7 (diff) | |
download | rails-28cf893d6c95bd4428b030894898587c79a8c6b1.tar.gz rails-28cf893d6c95bd4428b030894898587c79a8c6b1.tar.bz2 rails-28cf893d6c95bd4428b030894898587c79a8c6b1.zip |
Putting back mysql2 and sqlite3 in database.yml docs. In case people use "--skip-gemfile"
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/databases/mysql.yml | 3 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/databases/mysql.yml b/railties/lib/rails/generators/rails/app/templates/config/databases/mysql.yml index 62dc7b2c48..cce166c7c3 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +++ b/railties/lib/rails/generators/rails/app/templates/config/databases/mysql.yml @@ -1,4 +1,7 @@ # MySQL. Versions 4.1 and 5.0 are recommended. +# +# Install the MYSQL driver +# gem install mysql2 # # Ensure the MySQL gem is defined in your Gemfile # gem 'mysql2' diff --git a/railties/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml b/railties/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml index 5989eaf9dd..51a4dd459d 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml +++ b/railties/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml @@ -1,4 +1,6 @@ # SQLite version 3.x +# gem install sqlite3 +# # Ensure the SQLite 3 gem is defined in your Gemfile # gem 'sqlite3' development: |