# Ruby 3.0 RVM error: "Can't check signature: No public key"

**URL:** <https://travis-ci.community/t/ruby-3-0-rvm-error-cant-check-signature-no-public-key/11013>\
**Category:** Travis CI Discussions & Feedback\
**Created:** [January 12, 2021, 12:42am UTC](https://travis-ci.community/t/ruby-3-0-rvm-error-cant-check-signature-no-public-key/11013 "2021-01-12T00:42:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasonatball](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jasonatball/32/6013_2.png) [@jasonatball](https://travis-ci.community/u/jasonatball)\
**Post date:** [January 12, 2021, 12:42am UTC](https://travis-ci.community/t/ruby-3-0-rvm-error-cant-check-signature-no-public-key/11013/1 "2021-01-12T00:42:50Z")

</div>

Is Ruby 3.0 working yet? I’m getting weird RVM errors:

```auto
e[33;1mSetting environment variables from .travis.ymle[0m
$ export JRUBY_OPTS=--debug
$ export COSMOS_DEVEL=true

travis_time:end:099d66c9:start=1610410644935699968,finish=1610410644941326869,duration=5626901,event=env
e[0Ktravis_fold:start:rvm
e[0Ktravis_time:start:0026c899
e[0K$ rvm get head
e[32mDownloading https://get.rvm.ioe[0m
e[32mDownloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asce[0m
e[32mVerifying /home/travis/.rvm/archives/rvm-installer.asce[0m
gpg: Signature made Tue 23 Jul 2019 09:59:45 PM UTC using RSA key ID 39499BDB
gpg: Can't check signature: No public key
e[31mWarning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found. Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).

GPG signature verification failed for '/home/travis/.rvm/archives/rvm-installer' - 'https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc'! Try to install GPG v2 and then fetch the public key:

    gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

or if it fails:

    command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -

the key can be compared with:

    https://rvm.io/mpapis.asc
    https://keybase.io/mpapis

NOTE: GPG version 2.1.17 have a bug which cause failures during fetching keys from remote server. Please downgrade or upgrade to newer version (if available) or use the second method described above.
e[0m
/home/travis/.rvm/scripts/functions/cli: line 243: return: _ret: numeric argument required
travis_time:end:0026c899:start=1610410644948733016,finish=1610410645623386653,duration=674653637,event=
e[0Ke[31;1mThe command "rvm get head" failed and exited with 2 during .e[0m

Your build has been stopped.

```

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [January 12, 2021, 12:46pm UTC](https://travis-ci.community/t/ruby-3-0-rvm-error-cant-check-signature-no-public-key/11013/2 "2021-01-12T12:46:25Z")

</div>

Which environment is this? Could you link to the build?

---

<div class="post-metadata">

**Author:** ![jasonatball](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jasonatball/32/6013_2.png) [@jasonatball](https://travis-ci.community/u/jasonatball)\
**Post date:** [January 12, 2021, 2:26pm UTC](https://travis-ci.community/t/ruby-3-0-rvm-error-cant-check-signature-no-public-key/11013/3 "2021-01-12T14:26:36Z")

</div>

[https://travis-ci.org/github/BallAerospace/COSMOS/jobs/754037425](https://travis-ci.org/github/BallAerospace/COSMOS/jobs/754037425)

---

<div class="post-metadata">

**Author:** ![jasonatball](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jasonatball/32/6013_2.png) [@jasonatball](https://travis-ci.community/u/jasonatball)\
**Post date:** [January 12, 2021, 2:28pm UTC](https://travis-ci.community/t/ruby-3-0-rvm-error-cant-check-signature-no-public-key/11013/4 "2021-01-12T14:28:18Z")

</div>

Also seem to be having problems with jruby now: [Travis CI - Test and Deploy Your Code with Confidence](https://travis-ci.org/github/BallAerospace/COSMOS/jobs/754037424)

travis.yml: [COSMOS/.travis.yml at 2242d11c427877c57598e852b6847d9829150e9e · BallAerospace/COSMOS · GitHub](https://github.com/BallAerospace/COSMOS/blob/2242d11c427877c57598e852b6847d9829150e9e/.travis.yml)

---

<div class="post-metadata">

**Author:** ![jasonatball](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jasonatball/32/6013_2.png) [@jasonatball](https://travis-ci.community/u/jasonatball)\
**Post date:** [January 12, 2021, 2:43pm UTC](https://travis-ci.community/t/ruby-3-0-rvm-error-cant-check-signature-no-public-key/11013/5 "2021-01-12T14:43:08Z")

</div>

Perhaps you have a bad GPG signature: [Return argument error after GPG check failure on bash · Issue #4530 · rvm/rvm · GitHub](https://github.com/rvm/rvm/issues/4530)
