# Incompatible with the current version, ruby 3.0

**URL:** <https://talk.jekyllrb.com/t/incompatible-with-the-current-version-ruby-3-0/5821>\
**Category:** Uncategorized\
**Created:** [March 30, 2021, 1:44pm UTC](https://talk.jekyllrb.com/t/incompatible-with-the-current-version-ruby-3-0/5821 "2021-03-30T13:44:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stahlwalker](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/stahlwalker/32/3369_2.png) [@Stahlwalker](https://talk.jekyllrb.com/u/Stahlwalker)\
**Post date:** [March 30, 2021, 1:44pm UTC](https://talk.jekyllrb.com/t/incompatible-with-the-current-version-ruby-3-0/5821/1 "2021-03-30T13:44:27Z")

</div>

I’m running into this error ruby\_dep-1.5.0 requires ruby version \>= 2.2.5, ~\> 2.2, which is incompatible  
with the current version, ruby 3.0.0p0 when trying to bundle exec jekyll serve any thoughts?

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [March 30, 2021, 3:17pm UTC](https://talk.jekyllrb.com/t/incompatible-with-the-current-version-ruby-3-0/5821/2 "2021-03-30T15:17:34Z")

</div>

Easiest is to downgrade to Ruby 2.7 as that has been in use a lot time with Jekyll.

Someone posted recently in the forums to say Ruby 3 works fine with Jekyll - he just had to delete all his system gems (i.e. remove Ruby 2 cleanly and then setup Ruby 3).

---

<div class="post-metadata">

**Author:** ![Stahlwalker](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/stahlwalker/32/3369_2.png) [@Stahlwalker](https://talk.jekyllrb.com/u/Stahlwalker)\
**Post date:** [March 30, 2021, 4:04pm UTC](https://talk.jekyllrb.com/t/incompatible-with-the-current-version-ruby-3-0/5821/3 "2021-03-30T16:04:10Z")

</div>

so I installed my ruby via brew following these steps - [Jekyll on macOS | Jekyll • Simple, blog-aware, static sites](https://jekyllrb.com/docs/installation/macos/) how would you downgrade to 2.7?

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [March 30, 2021, 6:04pm UTC](https://talk.jekyllrb.com/t/incompatible-with-the-current-version-ruby-3-0/5821/4 "2021-03-30T18:04:18Z")

</div>

```auto
brew install ruby@2.7

```

My guide [Install Ruby and Bundler · GitHub](https://gist.github.com/MichaelCurrin/fb758aea4d35e03b9ed093afddf4e7ec)

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [March 30, 2021, 11:21pm UTC](https://talk.jekyllrb.com/t/incompatible-with-the-current-version-ruby-3-0/5821/5 "2021-03-30T23:21:15Z")

</div>

> <https://github.com/samesies/barber-jekyll/issues/45>
>
> I'm trying to bundle the theme, when running bundle I get
> ruby\_dep-1.5.0 requires ruby version \>= 2.2.5, ~\> 2.2, which is incompatible...

---

<div class="post-metadata">

**Author:** ![michaelbach](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelbach/32/2151_2.png) [@michaelbach](https://talk.jekyllrb.com/u/michaelbach)\
**Post date:** [March 31, 2021, 6:46am UTC](https://talk.jekyllrb.com/t/incompatible-with-the-current-version-ruby-3-0/5821/6 "2021-03-31T06:46:29Z")

</div>

I wrote that Ruby 3 works well, but “delete all his system gems” it was not – just the ~/gems directory, and that rebuilt itself.

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [March 31, 2021, 8:31am UTC](https://talk.jekyllrb.com/t/incompatible-with-the-current-version-ruby-3-0/5821/7 "2021-03-31T08:31:21Z")

</div>

Oh good thanks for jumping in.

---

<div class="post-metadata">

**Author:** ![rwebaz](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rwebaz/32/3450_2.png) [@rwebaz](https://talk.jekyllrb.com/u/rwebaz)\
**Post date:** [April 17, 2021, 9:15pm UTC](https://talk.jekyllrb.com/t/incompatible-with-the-current-version-ruby-3-0/5821/8 "2021-04-17T21:15:36Z")

</div>

At the end of the Terminal window pointed properly at the subject folder …

I get this after running …

`Bundle install`

ruby\_dep-1.5.0 requires ruby version ~\> 2.2, \>= 2.2.5,

;which is incompatible with the current version, ruby 3.0.1p64

Notice: Same warning w `Ruby 3.01` as w `Ruby 3.0.0`

I’ve also tried purging the gem `ruby_dep`, but that doesn’t seem to work either, as follows:

`gem uninstall ruby_dep-1.5.0`

Returns,

Gem ‘[ruby\_dep-1.5.0](https://rubygems.org/gems/ruby_dep/versions/1.5.0)’ is not installed.

Yet there is still a warning call for “ruby\_dep-1.5.0” …

That requires an ancient ruby version at the end of running of …

`Bundle install`

FYI: “[ruby\_dep-1.5.0](https://rubygems.org/gems/ruby_dep/versions/1.5.0)” has a last “worked on” version date of October 09, 2016

SOLUTION:

1.) Disable #gem ‘listen’, ‘3.1.5’ from Gemfile;

2.) Crank the version of `github-pages` down from `214` to `213` via the Gemfile;

3.) `Bundle update`

Working …

`Using github-pages 213`

`Bundle updated!`

---

<div class="post-metadata">

**Author:** ![lllukehuang](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/lllukehuang/32/3555_2.png) [@lllukehuang](https://talk.jekyllrb.com/u/lllukehuang)\
**Post date:** [May 10, 2021, 2:05pm UTC](https://talk.jekyllrb.com/t/incompatible-with-the-current-version-ruby-3-0/5821/9 "2021-05-10T14:05:43Z")

</div>

that really works! Thank you!
