<div dir="ltr"><div class="gmail_default" style="font-size:large">Follow-up to my note yesterday, I just did a complete clean install on a brand new centos 7 server. It is also failing there with this error;</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style=""><font face="monospace">[root@wp-cent-do archivesspace]# ./scripts/initialize-plugin.sh aspace-import-excel<br>io/console on JRuby shells out to stty for most operations<br>Fetching: bundler-1.17.3.gem (100%)<br>NotImplementedError: flock unsupported or native support failed to load; see <a href="http://wiki.jruby.org/Native-Libraries">http://wiki.jruby.org/Native-Libraries</a><br>                   flock at org/jruby/RubyFile.java:315<br>   block in write_binary at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:873<br>                    open at org/jruby/RubyIO.java:1171<br>                    open at org/jruby/RubyKernel.java:307<br>            write_binary at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:871<br>       cache_update_path at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/remote_fetcher.rb:334<br>                download at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/remote_fetcher.rb:188<br>                download at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/source.rb:211<br>                 install at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/resolver/specification.rb:91<br>        block in install at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/request_set.rb:166<br>                    each at org/jruby/RubyArray.java:1735<br>                 install at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/request_set.rb:156<br>             install_gem at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/commands/install_command.rb:205<br>   block in install_gems at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/commands/install_command.rb:255<br>                    each at org/jruby/RubyArray.java:1735<br>            install_gems at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/commands/install_command.rb:251<br>                 execute at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/commands/install_command.rb:158<br>  invoke_with_build_args at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/command.rb:310<br>            process_args at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/command_manager.rb:169<br>                     run at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/command_manager.rb:139<br>                     run at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/gem_runner.rb:55<br>                  <main> at uri:classloader:/META-INF/jruby.home/bin/jgem:21<br>                    load at org/jruby/RubyKernel.java:974<br>                  <main> at uri:classloader:/META-INF/jruby.home/bin/gem:4<br>Gem::GemNotFoundException: can't find gem bundler (>= 0.a)<br>  find_spec_for_exe at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:271<br>  activate_bin_path at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:299<br>             <main> at ../../gems/bin/bundle:23</font><br></div><div class="gmail_default" style=""><font face="monospace" style=""><br></font></div><div class="gmail_default" style=""><font face="arial, sans-serif" size="4">but when I run this on an older server running CentOS 7 and ArchivesSpace 2.7.0 it works;</font></div><div class="gmail_default" style=""><font face="monospace" style=""><br></font></div><div class="gmail_default" style=""><font face="monospace">[root@archivesspace-dev archivesspace]# ./scripts/initialize-plugin.sh aspace-import-excel<br>Fetching: bundler-1.16.1.gem (100%)<br>Successfully installed bundler-1.16.1<br>1 gem installed<br>Don't run Bundler as root. Bundler can ask for sudo if it is needed, and<br>installing your bundle as root will break this application for all non-root<br>users on this machine.<br>Fetching gem metadata from <a href="http://rubygems.org/................">http://rubygems.org/................</a>..<br>Resolving dependencies...<br>Using bundler 1.16.1<br>Fetching nokogiri 1.10.9 (java)<br>Installing nokogiri 1.10.9 (java)<br>Fetching rubyzip 1.3.0<br>Installing rubyzip 1.3.0<br>Fetching rubyXL 3.3.29<br>Installing rubyXL 3.3.29<br>Bundle complete! 1 Gemfile dependency, 4 gems now installed.<br>Use `bundle info [gemname]` to see where a bundled gem is installed.</font><font face="monospace" style=""><br></font></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">It gives this same error for any plugin. Oh and I'm running java version 1.8.0_252</div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">Thanks</div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">-Matt</div><div class="gmail_default" style=""><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><table style="max-width:600px;direction:ltr"><tbody><tr><td><table style="max-width:470px;padding-bottom:10px;margin-bottom:8px" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td><table border="0" cellspacing="0" cellpadding="0" width="470" style="width:470px"><tbody><tr valign="top"><td style="text-align:initial;font-stretch:normal;font-size:10px;line-height:normal;font-family:Verdana;color:rgb(100,100,100);padding:0px 10px"><div style="margin-bottom:5px;margin-top:0!important"><b>Matthew Baya</b><br>Williams College OIT, Networks & Systems </div><table style="width:470px;margin-top:5px" width="470" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="color:rgb(141,141,141)"><p style="margin:0"><a href="tel:413-597-3567" style="color:rgb(141,141,141);font-family:Verdana" target="_blank">413-597-3567</a> </p></td></tr><tr><td style="color:rgb(141,141,141)"><p style="margin:0"></p></td></tr></tbody></table><div style="margin-top:10px"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr style="padding-top:10px"></tr></tbody></table></div></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 5, 2020 at 4:55 PM Matthew Baya <<a href="mailto:mjb9@williams.edu">mjb9@williams.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:large">We currently have ArchivesSpace running on CentOS 7 and I am setting up a new CentOS 8 server to replace it.</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">However, on the new server when I get to the stage where I am initializing plugins it fails the same way regardless of the plugin;</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default"><font face="monospace">[root@archivesspace2 archivesspace]# ./scripts/initialize-plugin.sh nyudo<br>io/console on JRuby shells out to stty for most operations<br>ERROR:  Error installing bundler:<br>  invalid gem: package metadata is missing in gems/cache/bundler-1.17.3.gem<br>Gem::GemNotFoundException: can't find gem bundler (>= 0.a)<br>  find_spec_for_exe at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:271<br>  activate_bin_path at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:299<br>             <main> at ../../gems/bin/bundle:23</font><br></div><div class="gmail_default"><font face="monospace"><br></font></div><div class="gmail_default"><font face="arial, sans-serif" size="4">Anyone have any suggestions on how to fix this? </font></div><div class="gmail_default"><font face="arial, sans-serif" size="4"><br></font></div><div class="gmail_default"><font face="arial, sans-serif" size="4">Thanks</font></div><div class="gmail_default"><font face="arial, sans-serif" size="4"><br></font></div><div class="gmail_default"><font face="arial, sans-serif" size="4">-Matt</font></div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><table style="max-width:600px;direction:ltr"><tbody><tr><td><table style="max-width:470px;padding-bottom:10px;margin-bottom:8px" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td><table border="0" cellspacing="0" cellpadding="0" width="470" style="width:470px"><tbody><tr valign="top"><td style="text-align:initial;font-stretch:normal;font-size:10px;line-height:normal;font-family:Verdana;color:rgb(100,100,100);padding:0px 10px"><div style="margin-bottom:5px;margin-top:0px"><b>Matthew Baya</b><br>Williams College OIT, Networks & Systems </div><table style="width:470px;margin-top:5px" width="470" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="color:rgb(141,141,141)"><p style="margin:0px"><a href="tel:413-597-3567" style="color:rgb(141,141,141);font-family:Verdana" target="_blank">413-597-3567</a> </p></td></tr><tr><td style="color:rgb(141,141,141)"><p style="margin:0px"></p></td></tr></tbody></table><div style="margin-top:10px"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr style="padding-top:10px"></tr></tbody></table></div></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div></div></div>
</blockquote></div>