language: ruby
rvm:
  - 1.9.3
before_script:
  - RAILS_ENV=test rake db:create
  - RAILS_ENV=test bundle exec rake db:migrate --trace
addons:
  postgresql: "9.3"

language: ruby
rvm:
  - 1.9.3
before_script:
  - RAILS_ENV=test bundle exec rake db:create
  - RAILS_ENV=test bundle exec rake db:migrate --trace
addons:
  postgresql: "9.3"

Use bundle exec for creating the db
Use bundle exec for creating the db
