Ruby 2.7 can't find gem
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
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