Permalink
Browse files

Configure database and rvm info

  • Loading branch information...
1 parent 941f1fa commit 9464ce6026d73180aa33543e9ddf908839792f14 @ajcubeta committed Mar 4, 2012
Showing with 23 additions and 15 deletions.
  1. +1 −0 .rvmrc
  2. +22 −15 config/database.yml
View
1 .rvmrc
@@ -0,0 +1 @@
+rvm use ruby-1.9.3-p0@andrecubeta
View
@@ -1,25 +1,32 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
development:
- adapter: sqlite3
- database: db/development.sqlite3
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ database: andrecubeta_dev
pool: 5
- timeout: 5000
+ username: root
+ password: root
+ socket: /tmp/mysql.sock
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
-test:
- adapter: sqlite3
- database: db/test.sqlite3
+test: &test
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ database: andrecubeta_test
pool: 5
- timeout: 5000
+ username: root
+ password: root
+ socket: /tmp/mysql.sock
production:
- adapter: sqlite3
- database: db/production.sqlite3
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ database: andrecubeta_pro
pool: 5
- timeout: 5000
+ username: root
+ password: root
+ socket: /tmp/mysql.sock

0 comments on commit 9464ce6

Please sign in to comment.