# How to install import script gem dependencies?

**URL:** <https://meta.discourse.org/t/how-to-install-import-script-gem-dependencies/52229>\
**Category:** Development\
**Created:** [10월 30, 2016, 12:51오후 UTC](https://meta.discourse.org/t/how-to-install-import-script-gem-dependencies/52229 "2016-10-30T12:51:27Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tobiasmuehl](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tobiasmuehl](https://meta.discourse.org/u/tobiasmuehl)\
**Post date:** [10월 31, 2016, 9:02오전 UTC](https://meta.discourse.org/t/how-to-install-import-script-gem-dependencies/52229/3 "2016-10-31T09:02:49Z")

</div>

Thanks for the reply. Installing the gem using bundler worked the way you suggested, however running the import script with bundler didn’t work. Used `su discourse -c 'ruby script/import_scripts/my_import_script.rb'` instead, that worked

---

_[View the full topic](https://meta.discourse.org/t/how-to-install-import-script-gem-dependencies/52229)._
