Ruby 2.7 can't find gem

jmthomas's Avatar

jmthomas

13 Jan, 2021 05:29 PM

I have three Ruby builds in my environment, build 2.5 and 2.6 work but 2.7 complains about not finding a gem.

https://ci.appveyor.com/project/jasonatball/cosmos/builds/37247862

appveyor.yml:

environment:
  matrix:
    - ruby_version: 25-x64
    - ruby_version: 26-x64
    - ruby_version: 27-x64

cache:
  # If one of the files after the right arrow changes, cache will be invalidated
  - vendor\bundle -> appveyor.yml, Gemfile, cosmos.gemspec

install:
  - SET PATH=C:\Ruby%ruby_version%\bin;C:\MinGW\bin;%PATH%
  - SET RAKEOPT=-rdevkit
  - SET COSMOS_DEVEL=true
  - bundle config --local path vendor/bundle
  - bundle install

build: off

before_test:
  - ruby -v
  - gem -v
  - bundle -v

test_script:
  - bundle exec rake build spec

branches:
  only:
    - master
  except:
    - website

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac