<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div>Hi Alex,<div class=""><br class=""></div><div class="">There’s a script for this. Try this from your aspace directory:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><font face="Courier New" size="2" class="">scripts/initialize_plugin.sh [plugin_name]</font></div></blockquote><div class=""><br class=""></div><div class="">… .bat if you’re on windows.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Good luck!</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">James</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 3, 2016, at 6:46 AM, Alexander Duryee <<a href="mailto:alexanderduryee@nypl.org" class="">alexanderduryee@nypl.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">I'd like to use a third-party plugin in an ASpace plugin; however, I'm running into issues with ASpace loading the gem.  I've tried copying the structure from the OCLC plugin (gems/ directory containing the gem, plugin_init.rb loading the directory into $LOAD_PATH), but to no avail.  What are the best practices for including a gem in a plugin, ideally for distribution?<br class=""><br class=""></div>Thanks!<br class=""></div>--Alex<br clear="all" class=""><div class=""><div class=""><div class=""><br class="">-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Alexander Duryee<div class="">Metadata Archivist</div><div class="">New York Public Library</div><div class="">(917)-229-9590</div><div class=""><a href="mailto:alexanderduryee@nypl.org" target="_blank" class="">alexanderduryee@nypl.org</a></div></div></div></div></div>
</div></div></div></div>


!DSPAM:581a4296162421185191756!
_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br class=""><br class=""><br class="">!DSPAM:581a4296162421185191756!<br class=""></div></blockquote></div><br class=""></div></body></html>