Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issue: JRuby #403

Open
olleolleolle opened this issue Feb 3, 2025 · 1 comment
Open

Build issue: JRuby #403

olleolleolle opened this issue Feb 3, 2025 · 1 comment

Comments

@olleolleolle
Copy link
Member

olleolleolle commented Feb 3, 2025

SnakeYAML had a failure to compile. I'll try to store some snapshot-like information about the failure in a details block.

> bundle install
/home/runner/.rubies/jruby-9.4.11.0/bin/bundle config --local path /home/runner/work/gemstash/gemstash/vendor/bundle
/home/runner/.rubies/jruby-9.4.11.0/bin/bundle lock
Writing lockfile to /home/runner/work/gemstash/gemstash/Gemfile.lock
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
Cache key: setup-ruby-bundler-cache-v6-ubuntu-22.04-x64-jruby-9.4.11.0-wd-/home/runner/work/gemstash/gemstash-with--without--only--Gemfile.lock-442ea6ea0959254dae395b604567fd9a6b85e5fa3002953142955072d43589fd
/home/runner/.rubies/jruby-9.4.11.0/bin/bundle install --jobs 4
Fetching gem metadata from https://rubygems.org/.......
Fetching rake 13.2.1
Installing rake 13.2.1
Fetching base64 0.2.0
Fetching bigdecimal 3.1.9 (java)
Fetching concurrent-ruby 1.3.5
Fetching benchmark 0.4.0
Installing base64 0.2.0
Installing benchmark 0.4.0
Installing bigdecimal 3.1.9 (java)
Fetching connection_pool 2.5.0
Fetching drb 2.2.1
Installing concurrent-ruby 1.3.5
Fetching logger 1.6.5
Installing drb 2.2.1
Installing connection_pool 2.5.0
Installing logger 1.6.5
Fetching minitest 5.25.4
Fetching securerandom 0.4.1
Fetching public_suffix 6.0.1
Installing securerandom 0.4.1
Installing minitest 5.25.4
Fetching contracts 0.17.2
Installing public_suffix 6.0.1
Installing contracts 0.17.2
Fetching builder 3.3.0
Fetching cucumber-ci-environment 10.0.1
Installing builder 3.3.0
Installing cucumber-ci-environment 10.0.1
Fetching cucumber-messages 22.0.0
Fetching cucumber-tag-expressions 6.1.2
Fetching diff-lcs 1.5.1
Installing cucumber-tag-expressions 6.1.2
Fetching mini_mime 1.1.5
Installing cucumber-messages 22.0.0
Installing mini_mime 1.1.5
Fetching multi_test 1.1.0
Installing diff-lcs 1.5.1
Installing multi_test 1.1.0
Fetching ffi 1.17.1 (java)
Fetching rspec-support 3.13.2
Installing rspec-support 3.13.2
Fetching thor 1.3.2
Installing ffi 1.17.1 (java)
Installing thor 1.3.2
Fetching ast 2.4.2
Installing ast 2.4.2
Fetching citrus 3.0.2
Fetching dalli 3.2.8
Installing dalli 3.2.8
Installing citrus 3.0.2
Fetching date 3.4.1 (java)
Installing date 3.4.1 (java)
Fetching faraday-em_http 1.0.0
Fetching faraday-em_synchrony 1.0.0
Installing faraday-em_http 1.0.0
Installing faraday-em_synchrony 1.0.0
Fetching faraday-excon 1.1.0
Fetching faraday-httpclient 1.0.1
Fetching multipart-post 2.4.1
Installing faraday-excon 1.1.0
Fetching faraday-net_http 1.0.2
Installing faraday-httpclient 1.0.1
Installing multipart-post 2.4.1
Fetching faraday-net_http_persistent 1.2.0
Fetching faraday-patron 1.0.0
Installing faraday-net_http 1.0.2
Installing faraday-net_http_persistent 1.2.0
Fetching faraday-rack 1.0.0
Fetching faraday-retry 1.0.3
Installing faraday-patron 1.0.0
Installing faraday-retry 1.0.3
Fetching ruby2_keywords 0.0.5
Fetching jdbc-sqlite3 3.46.1.1
Installing faraday-rack 1.0.0
Installing ruby2_keywords 0.0.5
Fetching lru_redux 1.1.0
Fetching jar-dependencies 0.5.3
Fetching nio4r 2.7.4 (java)
Installing jar-dependencies 0.5.3
Installing nio4r 2.7.4 (java)
Installing lru_redux 1.1.0
Fetching server_health_check 1.0.2
Fetching rack 3.1.9
Fetching tilt 2.6.0
Installing server_health_check 1.0.2
Installing tilt 2.6.0
Installing rack 3.1.9
Fetching unicode-emoji 4.0.4
Installing unicode-emoji 4.0.4
Fetching json 2.9.1 (java)
Fetching language_server-protocol 3.17.0.4
Installing json 2.9.1 (java)
Installing language_server-protocol 3.17.0.4
Fetching parallel 1.26.3
Installing parallel 1.26.3
Fetching racc 1.8.1 (java)
Fetching rainbow 3.1.1
Installing racc 1.8.1 (java)
Installing rainbow 3.1.1
Fetching regexp_parser 2.10.0
Installing regexp_parser 2.10.0
Installing jdbc-sqlite3 3.46.1.1
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching webrick 1.9.1
Fetching cucumber-cucumber-expressions 17.1.0
Installing webrick 1.9.1
Installing cucumber-cucumber-expressions 17.1.0
Fetching sequel 5.89.0
Fetching redis-client 0.23.2
Installing redis-client 0.23.2
Fetching addressable 2.8.7
Installing addressable 2.8.7
Installing sequel 5.89.0
Fetching i18n 1.14.7
Installing i18n 1.14.7
Fetching tzinfo 2.0.6
Fetching cucumber-gherkin 27.0.0
Installing cucumber-gherkin 27.0.0
Installing tzinfo 2.0.6
Fetching cucumber-html-formatter 21.9.0
Fetching rspec-core 3.13.2
Installing cucumber-html-formatter 21.9.0
Installing rspec-core 3.13.2
Fetching rspec-expectations 3.13.3
Installing rspec-expectations 3.13.3
Fetching rspec-mocks 3.13.2
Installing rspec-mocks 3.13.2
Fetching sys-uname 1.3.1
Installing sys-uname 1.3.1
Fetching faraday-multipart 1.1.0
Installing faraday-multipart 1.1.0
Fetching mustermann 3.0.3
Fetching puma 6.6.0 (java)
Fetching psych 5.2.3 (java)
Installing mustermann 3.0.3
Installing psych 5.2.3 (java)
Installing puma 6.6.0 (java)
Fetching server_health_check-rack 0.1.0
Installing server_health_check-rack 0.1.0
Fetching rack-protection 4.1.1
  jar dependencies for psych-5.2.3-java.gemspec . . .
Installing gem 'ruby-maven' . . .
Fetching rack-session 2.1.0
Installing rack-protection 4.1.1
Installing rack-session 2.1.0
Fetching rack-test 2.2.0
Fetching unicode-display_width 3.1.4
Installing rack-test 2.2.0
Fetching parser 3.3.7.0
Installing unicode-display_width 3.1.4
Fetching redis 5.3.0
Installing redis 5.3.0
Fetching cucumber-core 13.0.3
Installing cucumber-core 13.0.3
Fetching activesupport 7.2.2.1
Installing parser 3.3.7.0
Fetching rspec 3.13.0
Installing activesupport 7.2.2.1
Installing rspec 3.13.0
Fetching faraday 1.10.4
Installing faraday 1.10.4
Fetching sinatra 4.1.1
Fetching terminal-table 4.0.0
Installing terminal-table 4.0.0
Installing sinatra 4.1.1
Fetching mock_redis 0.49.0
Fetching cucumber 9.2.1
Installing mock_redis 0.49.0
Fetching faraday_middleware 1.2.1
Installing faraday_middleware 1.2.1
Installing cucumber 9.2.1
Fetching rubocop-ast 1.38.0
Fetching sawyer 0.9.2
Installing sawyer 0.9.2
Installing rubocop-ast 1.38.0
Fetching octokit 9.2.0
Installing octokit 9.2.0
Fetching rubocop 1.71.1
Fetching aruba 2.3.0
Installing aruba 2.3.0
Installing rubocop 1.71.1
Installing gem 'ruby-maven-libs' . . .
Fetching rubocop-performance 1.23.1
Installing rubocop-performance 1.23.1

using maven for the first time results in maven
downloading all its default plugin and can take time.
as those plugins get cached on disk and further execution
of maven is much faster then the first time.

      org.snakeyaml:snakeyaml-engine:2.9:compile
--- ERROR REPORT TEMPLATE -------------------------------------------------------


Errno::ENOENT: No such file or directory - /home/runner/.m2/repository/org/snakeyaml/snakeyaml-engine/2.9/snakeyaml-engine-2.9.jar -- module org.snakeyaml.engine.v2
  org/jruby/RubyIO.java:1279:in `sysopen'
          org/jruby/RubyFile.java:371:in `initialize'
          org/jruby/RubyClass.java:951:in `new'
          org/jruby/RubyIO.java:1196:in `open'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/fileutils.rb:1394:in `copy_file'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/fileutils.rb:504:in `copy_file'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/fileutils.rb:423:in `block in cp'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/fileutils.rb:1577:in `block in fu_each_src_dest'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/fileutils.rb:1593:in `fu_each_src_dest0'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/fileutils.rb:1575:in `fu_each_src_dest'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/fileutils.rb:422:in `cp'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/jars/installer.rb:83:in `vendor_file'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/jars/installer.rb:130:in `block in vendor_jars'
          org/jruby/RubyArray.java:2009:in `each'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/jars/installer.rb:129:in `vendor_jars'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/jars/installer.rb:207:in `do_install'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/jars/installer.rb:150:in `vendor_jars'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/rubygems/defaults/jruby.rb:110:in `block in <main>'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/rubygems/installer.rb:367:in `block in run_post_install_hooks'
          org/jruby/RubyArray.java:2009:in `each'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/rubygems/installer.rb:366:in `run_post_install_hooks'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/bundler/rubygems_gem_installer.rb:48:in `install'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/bundler/source/rubygems.rb:205:in `install'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/bundler/installer/gem_installer.rb:55:in `install'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/bundler/installer/gem_installer.rb:17:in `install_from_spec'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/bundler/installer/parallel_installer.rb:133:in `do_install'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/bundler/installer/parallel_installer.rb:124:in `block in worker_pool'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/bundler/worker.rb:62:in `apply_func'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/bundler/worker.rb:57:in `block in process_queue'
          org/jruby/RubyKernel.java:1725:in `loop'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/bundler/worker.rb:54:in `process_queue'
          /home/runner/.rubies/jruby-9.4.11.0/lib/ruby/stdlib/bundler/worker.rb:90:in `block in create_threads'

Environment

Bundler       2.6.3
  Platforms   ruby, universal-java-11
Ruby          3.1.4p0 (2025-01-29 revision 9b107851a3f7bb3bb95463610d8510c4c9f50b95) [universal-java-11]
  Full Path   /home/runner/.rubies/jruby-9.4.11.0/bin/jruby
  Config Dir  /home/runner/.rubies/jruby-9.4.11.0/etc
RubyGems      3.6.3
  Gem Home    /home/runner/work/gemstash/gemstash/vendor/bundle/jruby/3.1.0
  Gem Path    /home/runner/work/gemstash/gemstash/vendor/bundle/jruby/3.1.0
  User Home   /home/runner
  User Path   /home/runner/.local/share/gem/jruby/3.1.0
  Bin Dir     /home/runner/work/gemstash/gemstash/vendor/bundle/jruby/3.1.0/bin
OpenSSL       
  Compiled    JRuby-OpenSSL 0.15.3
  Loaded      JRuby-OpenSSL 0.15.3
  Cert File   /usr/lib/jvm/temurin-11-jdk-amd64/lib/security/cacerts
  Cert Dir    /etc/ssl/certs
Tools         
  Git         2.48.1
  RVM         not installed
  rbenv       not installed
  chruby      not installed

Bundler Build Metadata

Built At          2025-01-16
Git SHA           3c7c4ff2d8f
Released Version  true

Bundler settings

jobs
  Set for the current command: 4
path
  Set for your local app (/home/runner/work/gemstash/gemstash/.bundle/config): "/home/runner/work/gemstash/gemstash/vendor/bundle"

Gemfile

Gemfile

# frozen_string_literal: true

source "https://rubygems.org/"

gemspec
gem "aruba"
gem "citrus", "~> 3.0"
gem "octokit"
gem "rack-test", "~> 2.1"
gem "rake", "~> 13.0"
gem "redis", "~> 5.0"
gem "rspec", "~> 3.3"
gem "webrick", "~> 1.6"

platform :jruby do
  gem "jdbc-sqlite3"
  gem "psych"
end

platform :ruby do
  gem "mysql2"
  gem "pg"
  gem "sqlite3"
end

group :linting do
  gem "rubocop", "~> 1.44"
  gem "rubocop-performance", "~> 1.5"
end

group :test do
  gem "mock_redis"
end

Gemfile.lock

PATH
  remote: .
  specs:
    gemstash (2.7.1-java)
      activesupport (>= 4.2, < 8)
      dalli (>= 3.2.3, < 4)
      faraday (>= 1, < 3)
      faraday_middleware (~> 1.0)
      jdbc-sqlite3 (~> 3.8)
      lru_redux (~> 1.1)
      psych (>= 3.2.1)
      puma (~> 6.1)
      sequel (~> 5.0)
      server_health_check-rack (~> 0.1)
      sinatra (>= 1.4, < 5.0)
      terminal-table (>= 3, < 5)
      thor (~> 1.0)

GEM
  remote: https://rubygems.org/
  specs:
    activesupport (7.2.2.1)
      base64
      benchmark (>= 0.3)
      bigdecimal
      concurrent-ruby (~> 1.0, >= 1.3.1)
      connection_pool (>= 2.2.5)
      drb
      i18n (>= 1.6, < 2)
      logger (>= 1.4.2)
      minitest (>= 5.1)
      securerandom (>= 0.3)
      tzinfo (~> 2.0, >= 2.0.5)
    addressable (2.8.7)
      public_suffix (>= 2.0.2, < 7.0)
    aruba (2.3.0)
      bundler (>= 1.17, < 3.0)
      contracts (>= 0.16.0, < 0.18.0)
      cucumber (>= 8.0, < 10.0)
      rspec-expectations (~> 3.4)
      thor (~> 1.0)
    ast (2.4.2)
    base64 (0.2.0)
    benchmark (0.4.0)
    bigdecimal (3.1.9-java)
    builder (3.3.0)
    citrus (3.0.2)
    concurrent-ruby (1.3.5)
    connection_pool (2.5.0)
    contracts (0.17.2)
    cucumber (9.2.1)
      builder (~> 3.2)
      cucumber-ci-environment (> 9, < 11)
      cucumber-core (> 13, < 14)
      cucumber-cucumber-expressions (~> 17.0)
      cucumber-gherkin (> 24, < 28)
      cucumber-html-formatter (> 20.3, < 22)
      cucumber-messages (> 19, < 25)
      diff-lcs (~> 1.5)
      mini_mime (~> 1.1)
      multi_test (~> 1.1)
      sys-uname (~> 1.2)
    cucumber-ci-environment (10.0.1)
    cucumber-core (13.0.3)
      cucumber-gherkin (>= 27, < 28)
      cucumber-messages (>= 20, < 23)
      cucumber-tag-expressions (> 5, < 7)
    cucumber-cucumber-expressions (17.1.0)
      bigdecimal
    cucumber-gherkin (27.0.0)
      cucumber-messages (>= 19.1.4, < 23)
    cucumber-html-formatter (21.9.0)
      cucumber-messages (> 19, < 28)
    cucumber-messages (22.0.0)
    cucumber-tag-expressions (6.1.2)
    dalli (3.2.8)
    date (3.4.1-java)
    diff-lcs (1.5.1)
    drb (2.2.1)
    faraday (1.10.4)
      faraday-em_http (~> 1.0)
      faraday-em_synchrony (~> 1.0)
      faraday-excon (~> 1.1)
      faraday-httpclient (~> 1.0)
      faraday-multipart (~> 1.0)
      faraday-net_http (~> 1.0)
      faraday-net_http_persistent (~> 1.0)
      faraday-patron (~> 1.0)
      faraday-rack (~> 1.0)
      faraday-retry (~> 1.0)
      ruby2_keywords (>= 0.0.4)
    faraday-em_http (1.0.0)
    faraday-em_synchrony (1.0.0)
    faraday-excon (1.1.0)
    faraday-httpclient (1.0.1)
    faraday-multipart (1.1.0)
      multipart-post (~> 2.0)
    faraday-net_http (1.0.2)
    faraday-net_http_persistent (1.2.0)
    faraday-patron (1.0.0)
    faraday-rack (1.0.0)
    faraday-retry (1.0.3)
    faraday_middleware (1.2.1)
      faraday (~> 1.0)
    ffi (1.17.1-java)
    i18n (1.14.7)
      concurrent-ruby (~> 1.0)
    jar-dependencies (0.5.3)
    jdbc-sqlite3 (3.46.1.1)
    json (2.9.1-java)
    language_server-protocol (3.17.0.4)
    logger (1.6.5)
    lru_redux (1.1.0)
    mini_mime (1.1.5)
    minitest (5.25.4)
    mock_redis (0.49.0)
      redis (~> 5)
    multi_test (1.1.0)
    multipart-post (2.4.1)
    mustermann (3.0.3)
      ruby2_keywords (~> 0.0.1)
    nio4r (2.7.4-java)
    octokit (9.2.0)
      faraday (>= 1, < 3)
      sawyer (~> 0.9)
    parallel (1.26.3)
    parser (3.3.7.0)
      ast (~> 2.4.1)
      racc
    psych (5.2.3-java)
      date
      jar-dependencies (>= 0.1.7)
    public_suffix (6.0.1)
    puma (6.6.0-java)
      nio4r (~> 2.0)
    racc (1.8.1-java)
    rack (3.1.9)
    rack-protection (4.1.1)
      base64 (>= 0.1.0)
      logger (>= 1.6.0)
      rack (>= 3.0.0, < 4)
    rack-session (2.1.0)
      base64 (>= 0.1.0)
      rack (>= 3.0.0)
    rack-test (2.2.0)
      rack (>= 1.3)
    rainbow (3.1.1)
    rake (13.2.1)
    redis (5.3.0)
      redis-client (>= 0.22.0)
    redis-client (0.23.2)
      connection_pool
    regexp_parser (2.10.0)
    rspec (3.13.0)
      rspec-core (~> 3.13.0)
      rspec-expectations (~> 3.13.0)
      rspec-mocks (~> 3.13.0)
    rspec-core (3.13.2)
      rspec-support (~> 3.13.0)
    rspec-expectations (3.13.3)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.13.0)
    rspec-mocks (3.13.2)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.13.0)
    rspec-support (3.13.2)
    rubocop (1.71.1)
      json (~> 2.3)
      language_server-protocol (>= 3.17.0)
      parallel (~> 1.10)
      parser (>= 3.3.0.2)
      rainbow (>= 2.2.2, < 4.0)
      regexp_parser (>= 2.9.3, < 3.0)
      rubocop-ast (>= 1.38.0, < 2.0)
      ruby-progressbar (~> 1.7)
      unicode-display_width (>= 2.4.0, < 4.0)
    rubocop-ast (1.38.0)
      parser (>= 3.3.1.0)
    rubocop-performance (1.23.1)
      rubocop (>= 1.48.1, < 2.0)
      rubocop-ast (>= 1.31.1, < 2.0)
    ruby-progressbar (1.13.0)
    ruby2_keywords (0.0.5)
    sawyer (0.9.2)
      addressable (>= 2.3.5)
      faraday (>= 0.17.3, < 3)
    securerandom (0.4.1)
    sequel (5.89.0)
      bigdecimal
    server_health_check (1.0.2)
    server_health_check-rack (0.1.0)
      server_health_check (~> 1.0, >= 1.0.1)
    sinatra (4.1.1)
      logger (>= 1.6.0)
      mustermann (~> 3.0)
      rack (>= 3.0.0, < 4)
      rack-protection (= 4.1.1)
      rack-session (>= 2.0.0, < 3)
      tilt (~> 2.0)
    sys-uname (1.3.1)
      ffi (~> 1.1)
    terminal-table (4.0.0)
      unicode-display_width (>= 1.1.1, < 4)
    thor (1.3.2)
    tilt (2.6.0)
    tzinfo (2.0.6)
      concurrent-ruby (~> 1.0)
    unicode-display_width (3.1.4)
      unicode-emoji (~> 4.0, >= 4.0.4)
    unicode-emoji (4.0.4)
    webrick (1.9.1)

PLATFORMS
  universal-java-11

DEPENDENCIES
  aruba
  citrus (~> 3.0)
  gemstash!
  jdbc-sqlite3
  mock_redis
  mysql2
  octokit
  pg
  psych
  rack-test (~> 2.1)
  rake (~> 13.0)
  redis (~> 5.0)
  rspec (~> 3.3)
  rubocop (~> 1.44)
  rubocop-performance (~> 1.5)
  sqlite3
  webrick (~> 1.6)

BUNDLED WITH
   2.6.3

Gemspecs

gemstash.gemspec

#  frozen_string_literal: true

lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "gemstash/version"

Gem::Specification.new do |spec|
  spec.name          = "gemstash"
  spec.version       = Gemstash::VERSION
  spec.authors       = ["Andre Arko"]
  spec.email         = ["[email protected]"]
  spec.platform      = "java" if RUBY_PLATFORM == "java"

  spec.summary       = "A place to stash gems you'll need"
  spec.description   = "Gemstash acts as a local RubyGems server, caching \
copies of gems from RubyGems.org automatically, and eventually letting \
you push your own private gems as well."
  spec.homepage      = "https://github.com/rubygems/gemstash"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0").select do |f|
    f.match(/^(lib|exe|CHANGELOG|CODE_OF_CONDUCT|LICENSE)/)
  end
  # we don't check in man pages, but we need to ship them because
  # we use them to generate the long-form help for each command.
  spec.files += Dir.glob("lib/gemstash/man/**/*")

  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.required_ruby_version = ">= 3.1"

  spec.add_runtime_dependency "activesupport", ">= 4.2", "< 8"
  spec.add_runtime_dependency "dalli", ">= 3.2.3", "< 4"
  spec.add_runtime_dependency "faraday", ">= 1", "< 3"
  spec.add_runtime_dependency "faraday_middleware", "~> 1.0"
  spec.add_runtime_dependency "lru_redux", "~> 1.1"
  spec.add_runtime_dependency "psych", ">= 3.2.1"
  spec.add_runtime_dependency "puma", "~> 6.1"
  spec.add_runtime_dependency "sequel", "~> 5.0"
  spec.add_runtime_dependency "server_health_check-rack", "~> 0.1"
  spec.add_runtime_dependency "sinatra", ">= 1.4", "< 5.0"
  spec.add_runtime_dependency "terminal-table", ">= 3", "< 5"
  spec.add_runtime_dependency "thor", "~> 1.0"

  # Use Redis instead of memcached
  # spec.add_runtime_dependency "redis", "~> 3.3"
  # Run Gemstash with the mysql adapter
  # spec.add_runtime_dependency "mysql", "~> 2.9"
  # Run Gemstash with the mysql2 adapter
  # spec.add_runtime_dependency "mysql2", "~> 0.4"

  if RUBY_PLATFORM == "java"
    spec.add_runtime_dependency "jdbc-sqlite3", "~> 3.8"
  else
    spec.add_runtime_dependency "sqlite3", ">= 1.3", "< 3.0"
  end
end

--- TEMPLATE END ----------------------------------------------------------------

Unfortunately, an unexpected error occurred, and Bundler cannot continue. [...]

@olleolleolle
Copy link
Member Author

a new JRuby is released, I should try it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant