# Vagrant based server failing on db:migrate

**URL:** https://meta.discourse.org/t/vagrant-based-server-failing-on-db-migrate/34566
**Category:** Bug
**Created:** [10월 15, 2015, 6:28오후 UTC](https://meta.discourse.org/t/vagrant-based-server-failing-on-db-migrate/34566 "2015-10-15T18:28:05Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [10월 16, 2015, 6:34오전 UTC](https://meta.discourse.org/t/vagrant-based-server-failing-on-db-migrate/34566/6 "2015-10-16T06:34:05Z")

</div>

I just tried running `rake db:migrate` on the Vagrant image on a mac and got the same results you are getting.

You might try using the setup outlined in this article for Development. It’s working well.

> [@Install Discourse on macOS for development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-mac-os-x-for-development/15772):
>
> warning This guide covers installation instructions for a macOS development environment, for production guides see: [Install Discourse in production with the official supported instructions](https://meta.discourse.org/t/how-to-install-discourse-in-production/142537) So you want to set up Discourse on macOS to hack on and develop with? We’ll assume that you don’t have Ruby/Rails/Postgres/Redis installed on your Mac. Let’s begin rocket ! Install Discourse Dependencies You will need the following packages on your system: [Git](http://git-scm.com/)[rbenv](https://github.com/sstephenson/rbenv) or [asdf](https://asdf-vm.com/guide/getting-started.html)[ruby-build](https://github.com/sstephenson/ruby-build)[Ruby](https://www.ruby-lang.org/) (latest s…

---

_[View the full topic](https://meta.discourse.org/t/vagrant-based-server-failing-on-db-migrate/34566)._
