# فشل استيراد XenForo (config/application.rb:2)

**URL:** <https://meta.discourse.org/t/xenforo-import-failing-config-application-rb-2/50049>\
**Category:** Product Support\
**Created:** [12 سبتمبر 2016، 11:47م UTC](https://meta.discourse.org/t/xenforo-import-failing-config-application-rb-2/50049 "2016-09-12T23:47:35Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Padraig](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/padraig/32/121553_2.png) [@Padraig](https://meta.discourse.org/u/Padraig)\
**Post date:** [13 سبتمبر 2016، 6:31م UTC](https://meta.discourse.org/t/xenforo-import-failing-config-application-rb-2/50049/13 "2016-09-13T18:31:43Z")

</div>

Well, after all that… I rebuilt the app, went in and followed all the instructions to a T…It magically worked (Reading is hard some days 😛 )

```plaintext
RAILS_ENV=production bundle exec ruby script/import_scripts/xenforo.rb

```

Step 10 to the XF tutorial needs to be updated to reflect with the above line!

Anyway, the final result was:

```plaintext
updating featured topic users
      966 / 966 (100.0%)
updating featured topics in categories
       53 / 53 (100.0%)
updating user topic reply counts
      241 / 241 (100.0%)
resetting topic counters
      966 / 966 (100.0%)

Done (00h 04min 55sec)

```

Thanks to everyone for the assistance 🙂

---

_[View the full topic](https://meta.discourse.org/t/xenforo-import-failing-config-application-rb-2/50049)._
