# Não é possível iniciar o servidor localhost -- o arquivo foi compilado para x86\_64, que não é a arquitetura sendo vinculada (i386)

**URL:** <https://meta.discourse.org/t/cant-start-localhost-server-file-was-built-for-x86-64-which-is-not-the-architecture-being-linked-i386/108193>\
**Category:** Development\
**Created:** [Fevereiro 2, 2019, 7:06am UTC](https://meta.discourse.org/t/cant-start-localhost-server-file-was-built-for-x86-64-which-is-not-the-architecture-being-linked-i386/108193 "2019-02-02T07:06:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Chaboi\_3000](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaboi_3000/32/163015_2.png) [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)\
**Post date:** [Fevereiro 2, 2019, 7:06am UTC](https://meta.discourse.org/t/cant-start-localhost-server-file-was-built-for-x86-64-which-is-not-the-architecture-being-linked-i386/108193/1 "2019-02-02T07:06:00Z")

</div>

Estou no Mac e estou seguindo este guia: [Install Discourse on macOS for development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-macos-for-development/15772).

Cheguei até aqui: `bundle exec rake db:create db:migrate\nRAILS_ENV=test bundle exec rake db:create db:migrate` e recebi este erro:

```plaintext
Could not find nokogiri-1.8.5 in any of the source
Run "bundle install" to install missing gems.

```

Executei `bundle install`, mas, no meio do processo, retornou um erro, mostrado aqui:

 ![52%20PM](https://global.discourse-cdn.com/meta/original/3X/9/7/972a66715456498d857332c0e3602de88ec53f08.png)

---

_[View the full topic](https://meta.discourse.org/t/cant-start-localhost-server-file-was-built-for-x86-64-which-is-not-the-architecture-being-linked-i386/108193)._
