[Archivesspace_Users_Group] M1/M2 Mac - Initialize Plugins with Gem Dependencies - Issues

Joshua D. Shaw Joshua.D.Shaw at dartmouth.edu
Thu Mar 23 15:18:06 EDT 2023


I've put my hacky-ish solution here: https://gist.github.com/jdshaw/c9ecb660ba68cd84abe5d44b001c37d1 in case it helps anyone in the same situation.

To use, pop this into the scripts folder in your AS installation and invoke as you normally would: ./scripts/initalize-plugin-silicon.sh {PLUGIN_NAME}

Requires rbenv with a version of jruby installed by rbenv. I'm using rbenv 1.2.0 and jruby 9.4.2.0 on an M2 with 13.2.1.

Other thoughts or solutions welcome!

jds

________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Blake Carver <blake.carver at lyrasis.org>
Sent: Thursday, March 23, 2023 12:36 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] M1/M2 Mac - Initialize Plugins with Gem Dependencies - Issues

Since I have a Linux box here I gave up pretty quick, but I couldn't get it to run on my M1 either.

________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Joshua D. Shaw <Joshua.D.Shaw at dartmouth.edu>
Sent: Thursday, March 23, 2023 10:33 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] M1/M2 Mac - Initialize Plugins with Gem Dependencies - Issues

Hey all

Has anyone successfully used the included initialize-plugin script to install plugins with gem dependencies on an M* mac? I've patched jRuby as per Mark Triggs (https://teaspoon-consulting.com/articles/archivesspace-on-the-m1.html<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fteaspoon-consulting.com%2Farticles%2Farchivesspace-on-the-m1.html&data=05%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7Cceedf442ccfe4ed840c208db2bbcc553%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C638151862006297576%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EARwuBgewCOqknwB%2FHOFH31AvqqBvdA6z69wyk0rGs8%3D&reserved=0>), but the plugin init script still flails.

I've created a workaround script (happy to share if that's helpful) that uses an rbenv managed jruby, but just wondering if I'm missing something obvious?

I'm testing against 3.3.1, but I think the issue will be the same across all AS releases.

Thanks!
Joshua

___________________
Joshua Shaw (he, him)
Library Web & Application Developer
Digital Library Technologies Group
Dartmouth College
603.646.0405
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20230323/1a265878/attachment.html>


More information about the Archivesspace_Users_Group mailing list