# Migration depuis mybb

**URL:** <https://meta.discourse.org/t/migrating-from-mybb/25563>\
**Category:** Product Support\
**Created:** [Février 23, 2015, 11:12 UTC](https://meta.discourse.org/t/migrating-from-mybb/25563 "2015-02-23T11:12:46Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)\
**Post date:** [Mars 15, 2015, 1:00 UTC](https://meta.discourse.org/t/migrating-from-mybb/25563/8 "2015-03-15T01:00:33Z")

</div>

Ah, I see. I think `base.rb` changed recently and now loads the Rails environment immediately. This also loads `bundler` which overrides `require`, and since `mysql2` is not in Discourse’s bundle, it can’t be loaded.

Fixed here:  
[https://github.com/Elberet/discourse/commit/1cc7db23707a70889dd135c0cde32ff1850013e5](https://github.com/Elberet/discourse/commit/1cc7db23707a70889dd135c0cde32ff1850013e5)

Grab the update from my fork (or just edit it into your local copy of the script – it’s three lines…) or wait until it’s merged into the core repo. 🙂

CC @neil and @gerhard since the phpbb3 and, I’d assume, all other importers will likely have the same issue.

---

_[View the full topic](https://meta.discourse.org/t/migrating-from-mybb/25563)._
