[Archivesspace_Users_Group] M1/M2 Macs - Pre 3.3 versions can be run in containers
Joshua D. Shaw
Joshua.D.Shaw at dartmouth.edu
Wed Jun 14 13:16:16 EDT 2023
Just a follow-up on this.
Turns out that the build script does not clean up after itself so if you do builds/bootstrap for multiple versions, chances are you will have problems with conflicting/multiple versions of some gems. The trick is to clean out the debris from the build folder before running a different version build/bootstrap. Basically, wipe out anything that isn't in the code tree. Then you can run in dev mode on bare metal. I've also been able to build releases for 3.3.1 and 3.4.0 in case you prefer running non-dev mode.
And... as a bonus, for M* users, if you are running 3.4.0, you will probably need to patch the net-http-persistent gem with the patch given here: https://github.com/rubygems/rubygems/pull/4138/files
This appears to work, but I haven't done a huge amount of testing.
jds
________________________________
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, June 8, 2023 5:07 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] M1/M2 Macs - Pre 3.3 versions can be run in containers
Hey all
Just thought I'd pass this on for developers (or anyone) who may need to run AS versions prior to 3.3 on an M* mac.
V3.3+ appears to run fine bare metal with the mods outlined by Mark Triggs (https://teaspoon-consulting.com/articles/archivesspace-on-the-m1.html) but I could not get 3.1.1 or 3.2.0 to run. I tend to develop on bare metal since containers add enough overhead that its annoying (to me anyway).
However, 3.1.1 and 3.2.0 do run in a container and will connect to host versions of mariadb/mysql and solr - those can be run bare metal if you choose.
jds
___________________
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/20230614/a843d4af/attachment.html>
More information about the Archivesspace_Users_Group
mailing list