# Too many warning messages when using ruby 2.7.1p83 with jekyll-3.0.5

**URL:** <https://talk.jekyllrb.com/t/too-many-warning-messages-when-using-ruby-2-7-1p83-with-jekyll-3-0-5/4480>\
**Category:** Help\
**Created:** [May 27, 2020, 9:44am UTC](https://talk.jekyllrb.com/t/too-many-warning-messages-when-using-ruby-2-7-1p83-with-jekyll-3-0-5/4480 "2020-05-27T09:44:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![klion26](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/klion26/32/2542_2.png) [@klion26](https://talk.jekyllrb.com/u/klion26)\
**Post date:** [May 27, 2020, 9:44am UTC](https://talk.jekyllrb.com/t/too-many-warning-messages-when-using-ruby-2-7-1p83-with-jekyll-3-0-5/4480/1 "2020-05-27T09:44:00Z")

</div>

When using jekyll-3.0.5 with ruby 2.7.1p823, there are too many warning log output on the screen such as below

```auto
/base_dir/.rubydeps/ruby/2.7.0/gems/jekyll-3.0.5/lib/jekyll/url.rb:124: warning: URI.unescape is obsolete
/base_dir/.rubydeps/ruby/2.7.0/gems/jekyll-3.0.5/lib/jekyll/url.rb:110: warning: URI.escape is obsolete

```

I’m searched on the [github side](https://github.com/jekyll/jekyll/issues), didn’t found anything about this.  
Also I’m not sure this is a bug directly related to Jekyll or not(as the bug report template said), so I asked here instead of filing an issue directly

---

<div class="post-metadata">

**Author:** ![chuckhoupt](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/chuckhoupt/32/523_2.png) [@chuckhoupt](https://talk.jekyllrb.com/u/chuckhoupt)\
**Post date:** [May 27, 2020, 6:45pm UTC](https://talk.jekyllrb.com/t/too-many-warning-messages-when-using-ruby-2-7-1p83-with-jekyll-3-0-5/4480/2 "2020-05-27T18:45:30Z")

</div>

This is really a mis-feature of Ruby 2.7. The warnings can be quieted with Ruby’s `-W0` option when running Jekyll. For example:

```auto
RUBYOPT='-W0' bundle exec jekyll build

```

Or you could turn off the warnings semi-permanently in your shell setup (e.g. `.bash_profile`, etc):

```auto
export RUBYOPT='-W0'

```

---

<div class="post-metadata">

**Author:** ![YJPL](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/yjpl/32/1523_2.png) [@YJPL](https://talk.jekyllrb.com/u/YJPL)\
**Post date:** [May 28, 2020, 8:27am UTC](https://talk.jekyllrb.com/t/too-many-warning-messages-when-using-ruby-2-7-1p83-with-jekyll-3-0-5/4480/3 "2020-05-28T08:27:35Z")

</div>

That warning no longer shows up in Jekyll 4.1.0 (released yesterday)
