# 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:** 9

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [Mars 15, 2015, 1:15 UTC](https://meta.discourse.org/t/migrating-from-mybb/25563/9 "2015-03-15T13:15:40Z")

</div>

I’m always adding `gem 'mysql2'` to the `Gemfile` which always seems to work, so I didn’t even notice that there is a problem.  
I guess I should read more about how Ruby handles its dependencies. Just to clarify, moving the `require 'mysql2'` to the top isn’t enough, is it? At least in my development environment I still get an error. So, how do I install the mysql gem without adding it to the `Gemfile` in order to make a simple `require 'mysql2'` work?

---

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