diff --git a/.travis.yml b/.travis.yml
index 262c4698566bcdda7f40218abcb7831d7144495a..7890d4943398b68298b890d2a8b7e7f15d7a58ad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,9 +20,10 @@ bundler_args: --without development production --retry=3 --jobs=3
 
 install:
   - npm install -g npm@2
+  - npm install
+  - bundle install
 
 before_script:
-  - npm install
-  - bundle exec rake db:create db:migrate
+  - bundle exec rails db:create db:migrate
 
 script: bundle exec rspec