<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Yu Gothic";
panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@Yu Gothic";
panose-1:2 11 4 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi ArchivesSpacers,<o:p></o:p></p>
<p class="MsoNormal">We’re trying to upgrade our installation from 2.5.2 to 2.7.1. We’ve run into a number of problems, some of which we’ve solved already by adjusting Gemfiles.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But we’ve got two problems that we haven’t been able to figure out so far. One is a “missing dependency” for “ContextAction” and the other is some kind of problem with the sassc-2.2.1 gem.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The first is a missing dependency:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New"">ContextAction not found in packages org.mozilla.javascript; last error: cannot link Java class org.mozilla.javascript.ContextAction, probable missing dependency: org/mozilla/javascript/ContextAction
: Unsupported major.minor version 52.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> const_missing at uri:classloader:/jruby/java/core_ext/module.rb:45<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <class:Context> at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:99<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <module:Rhino> at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:36<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <main> at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino/context.rb:3<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> require at org/jruby/RubyKernel.java:956<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <main> at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> require at org/jruby/RubyKernel.java:956<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> (root) at /usr/local/archivesspace-v2.7.1/gems/gems/therubyrhino-2.1.2/lib/rhino.rb:61<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> find at org/jruby/RubyEnumerable.java:643<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> (root) at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> available? at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs/ruby_rhino_runtime.rb:91<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <module:best_available> at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <main> at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> require at org/jruby/RubyKernel.java:956<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <main> at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs.rb:5<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> require at org/jruby/RubyKernel.java:956<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <main> at /usr/local/archivesspace-v2.7.1/gems/gems/execjs-2.7.0/lib/execjs.rb:4<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> require at org/jruby/RubyKernel.java:956<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <main> at /usr/local/archivesspace-v2.7.1/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> require at org/jruby/RubyKernel.java:956<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> block in (root) at /usr/local/archivesspace-v2.7.1/gems/gems/coffee-script-2.4.1/lib/coffee_script.rb:1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> each at org/jruby/RubyArray.java:1735<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> block in (root) at /usr/local/archivesspace-v2.7.1/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> each at org/jruby/RubyArray.java:1735<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> (root) at /usr/local/archivesspace-v2.7.1/gems/gems/coffee-script-2.4.1/lib/coffee-script.rb:1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> (root) at /usr/local/archivesspace-v2.7.1/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <main> at /usr/local/archivesspace-v2.7.1/gems/gems/coffee-rails-4.2.1/lib/coffee-rails.rb:1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> require at org/jruby/RubyKernel.java:956<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <main> at /usr/local/archivesspace-v2.7.1/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> require at org/jruby/RubyKernel.java:956<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> require at /usr/local/archivesspace-v2.7.1/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:81<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> require at /usr/local/archivesspace-v2.7.1/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:76<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <main> at /usr/local/archivesspace-v2.7.1/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:65<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> start_server at launcher/launcher.rb:92<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> main at launcher/launcher.rb:165<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-family:"Courier New""> <main> at launcher/launcher.rb:261<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Did we miss something in the upgrade process?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The second problem is related to gem sassc. We get this error:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> Ignoring sassc-2.2.1 because its extensions are not built. Try: gem pristine sassc --version 2.2.1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Shortly followed by this error:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> Bundler::GemNotFound: Could not find sassc-2.2.1 in any of the sources<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We tried running the “gem” command above (gem pristine …), but apparently haven’t found the right combination of options to make it work. We don’t know in what directory to run it or what options to use. Also, the gem appears to be there
already, so we’re not sure why it’s a problem in the first place:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">asadmin:/usr/local/archivesspace$ ls -ls gems/gems<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">…<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> 4 drwxr-xr-x. 5 asadmin asadmin 4096 Feb 27 13:57 sassc-2.2.1<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Since the error message says that the extensions are not built, we also tried running “gem build” command:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">asadmin@badger:/usr/local/archivesspace/gems/gems/sassc-2.2.1$ gem build sassc.gemspec<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">fatal: Not a git repository (or any parent up to mount point /usr/local)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">fatal: Not a git repository (or any parent up to mount point /usr/local)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">WARNING: description and summary are identical<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> Successfully built RubyGem<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> Name: sassc<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> Version: 2.2.1<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:5.25pt">File: sassc-2.2.1.gem<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:5.25pt"><o:p> </o:p></p>
<p class="MsoNormal">Any help on this problems would be appreciated. We can submit a ticket if that would be helpful, but we thought someone might be able to give some guidance on the list.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Alan<o:p></o:p></p>
</div>
<br>
<div style="font-size:11pt;font-family:Century
Gothic"><b>Alan Manifold | Library Systems & Digital Preservation Manager | Collection Development & Description
</b><br>
State Library Victoria | 328 Swanston Street | Melbourne VIC 3000 <br>
T +61 3 8664 7122 | amanifold@slv.vic.gov.au <br>
<a tabindex="0" href="http://slv.vic.gov.au">slv.vic.gov.au</a><br>
<br>
<table>
<tbody>
<tr>
<td colspan="3"><a tabindex="0" href="https://www.slv.vic.gov.au/email_campaign"><img src="https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9"></a></td>
<td></td>
</tr>
<tr>
<td colspan="3"><img src="https://www.slv.vic.gov.au/sites/default/files/email_signature/follow-us.png" alt="follow
us"></td>
</tr>
<tr>
<td>
<table>
<tbody>
<tr>
<td><a tabindex="0" style="text-decoration:none;" href="http://www.facebook.com/pages/Melbourne-Australia/State-Library-of-Victoria/32256104331"><img src="https://www.slv.vic.gov.au/sites/default/files/email_signature/facebook.png" alt="SLV facebook"></a></td>
<td><a tabindex="0" style="text-decoration:none;" href="http://twitter.com/Library_Vic"><img src="http://www.slv.vic.gov.au/sites/default/files/email_signature/twitter.png" alt="SLV twitter"></a></td>
<td><a tabindex="0" style="text-decoration:none;" href="http://www.youtube.com/user/statelibraryvictoria"><img src="https://www.slv.vic.gov.au/sites/default/files/email_signature/youtube.png" alt="SLV youtube"></a></td>
<td><a tabindex="0" style="text-decoration:none;" href="http://instagram.com/library_vic"><img src="https://secure.slv.vic.gov.au/cdn/email_signature/instagram.png" alt="SLV
instagram"></a></td>
<td><img src="https://www.slv.vic.gov.au/sites/default/files/email_signature/racv-logo-small.png" alt="Gold Winner 2018 RACV Victorian Tourism Awards"></td>
<td width="30"> </td>
<td><img src="https://www.slv.vic.gov.au/sites/default/files/email_signature/mea-logo.jpg" alt="MEA Awards 2018 National Winner"></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
This message and any attachment is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly
prohibited. If you have received this communication in error, please delete all copies of the message and its attachments and notify the sender immediately. Thank you.
</body>
</html>