[Archivesspace_Users_Group] Plugin Gem Best Practices

James Bullen james at hudmol.com
Wed Nov 2 18:37:40 EDT 2016


Hi Alex,

There’s a script for this. Try this from your aspace directory:

scripts/initialize_plugin.sh [plugin_name]

… .bat if you’re on windows.


Good luck!


James


> On Nov 3, 2016, at 6:46 AM, Alexander Duryee <alexanderduryee at nypl.org> wrote:
> 
> 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?
> 
> Thanks!
> --Alex
> 
> -- 
> Alexander Duryee
> Metadata Archivist
> New York Public Library
> (917)-229-9590
> alexanderduryee at nypl.org <mailto:alexanderduryee at nypl.org>!DSPAM:581a4296162421185191756! _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
> 
> 
> !DSPAM:581a4296162421185191756!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20161103/62872982/attachment.html>


More information about the Archivesspace_Users_Group mailing list