##// END OF EJS Templates
Set ruby1.9 as default for the database configuration example....
Jean-Philippe Lang -
r10974:1188789e1553
parent child
Show More
@@ -1,9 +1,9
1 # Default setup is given for MySQL with ruby1.8. If you're running Redmine
1 # Default setup is given for MySQL with ruby1.9. If you're running Redmine
2 # with MySQL and ruby1.9, replace the adapter name with `mysql2`.
2 # with MySQL and ruby1.8, replace the adapter name with `mysql`.
3 # Examples for PostgreSQL and SQLite3 can be found at the end.
3 # Examples for PostgreSQL and SQLite3 can be found at the end.
4
4
5 production:
5 production:
6 adapter: mysql
6 adapter: mysql2
7 database: redmine
7 database: redmine
8 host: localhost
8 host: localhost
9 username: root
9 username: root
@@ -11,7 +11,7 production:
11 encoding: utf8
11 encoding: utf8
12
12
13 development:
13 development:
14 adapter: mysql
14 adapter: mysql2
15 database: redmine_development
15 database: redmine_development
16 host: localhost
16 host: localhost
17 username: root
17 username: root
@@ -22,7 +22,7 development:
22 # re-generated from your development database when you run "rake".
22 # re-generated from your development database when you run "rake".
23 # Do not set this db to the same as development or production.
23 # Do not set this db to the same as development or production.
24 test:
24 test:
25 adapter: mysql
25 adapter: mysql2
26 database: redmine_test
26 database: redmine_test
27 host: localhost
27 host: localhost
28 username: root
28 username: root
@@ -27,10 +27,10 Optional:
27 2. Create an empty utf8 encoded database: "redmine" for example
27 2. Create an empty utf8 encoded database: "redmine" for example
28
28
29 3. Configure the database parameters in config/database.yml
29 3. Configure the database parameters in config/database.yml
30 for the "production" environment (default database is MySQL and ruby1.8)
30 for the "production" environment (default database is MySQL and ruby1.9)
31
31
32 If you're running Redmine with MySQL and ruby1.9, replace the adapter name
32 If you're running Redmine with MySQL and ruby1.8, replace the adapter name
33 with `mysql2`
33 with `mysql`
34
34
35 4. Install the required gems by running:
35 4. Install the required gems by running:
36 bundle install --without development test
36 bundle install --without development test
General Comments 0
You need to be logged in to leave comments. Login now