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 <[email protected]> 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
> [email protected] 
> <mailto:[email protected]>!DSPAM:581a4296162421185191756! 
> _______________________________________________
> Archivesspace_Users_Group mailing list
> [email protected]
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
> 
> 
> !DSPAM:581a4296162421185191756!

_______________________________________________
Archivesspace_Users_Group mailing list
[email protected]
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

Reply via email to