# Unable to install SQLite3 and getting an error when I try to run shotgun on my MacBook Pro, please help!

**URL:** <https://www.ruby-forum.com/t/unable-to-install-sqlite3-and-getting-an-error-when-i-try-to-run-shotgun-on-my-macbook-pro-please-help/259159>\
**Category:** Ruby-Forum\
**Created:** [April 5, 2020, 9:16pm UTC](https://www.ruby-forum.com/t/unable-to-install-sqlite3-and-getting-an-error-when-i-try-to-run-shotgun-on-my-macbook-pro-please-help/259159 "2020-04-05T21:16:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sehrish](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b38774/32.png) [@Sehrish](https://www.ruby-forum.com/u/Sehrish)\
**Post date:** [April 5, 2020, 9:16pm UTC](https://www.ruby-forum.com/t/unable-to-install-sqlite3-and-getting-an-error-when-i-try-to-run-shotgun-on-my-macbook-pro-please-help/259159/1 "2020-04-05T21:16:07Z")

</div>

Hello fellow rubyists! For some reason I get an error message when I try to run shotgun on my new laptop. I’ve installed all the gems and still it gives me this error

 ![image](https://www.ruby-forum.com/uploads/default/original/2X/0/000056369e4de751a1e5f8415cef0f1a8bfc2fba.jpeg)

---

<div class="post-metadata">

**Author:** ![Maniac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/13edae/32.png) [@Maniac](https://www.ruby-forum.com/u/Maniac)\
**Post date:** [April 23, 2020, 7:57pm UTC](https://www.ruby-forum.com/t/unable-to-install-sqlite3-and-getting-an-error-when-i-try-to-run-shotgun-on-my-macbook-pro-please-help/259159/2 "2020-04-23T19:57:58Z")

</div>

Hello @Sehrish,

Probably the sqlite3 gem is corrupted, so if you re-install it that could do the trick, so first uninstall it:

```auto
gem uninstall sqlite3

```

And then run this command:

```auto
bundle install

```

---

<div class="post-metadata">

**Author:** ![merlin2049er](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/7feea3/32.png) [@merlin2049er](https://www.ruby-forum.com/u/merlin2049er)\
**Post date:** [April 24, 2020, 8:46pm UTC](https://www.ruby-forum.com/t/unable-to-install-sqlite3-and-getting-an-error-when-i-try-to-run-shotgun-on-my-macbook-pro-please-help/259159/3 "2020-04-24T20:46:26Z")

</div>

use homebrew to install sqlite if it’s not already on your mac.

> **[sqlite](https://formulae.brew.sh/formula/sqlite)**
>
> Homebrew’s package index
