# How can I fix this error please. Your Ruby version is 3.0.0 but your Gemfile specified 2.4.1. I need to work on Ruby 3.0.0 so i need to upgrade gemfiles

**URL:** <https://www.ruby-forum.com/t/how-can-i-fix-this-error-please-your-ruby-version-is-3-0-0-but-your-gemfile-specified-2-4-1-i-need-to-work-on-ruby-3-0-0-so-i-need-to-upgrade-gemfiles/261236>\
**Category:** Uncategorized\
**Tags:** ruby-gnome, fxruby\
**Created:** [April 15, 2021, 10:49am UTC](https://www.ruby-forum.com/t/how-can-i-fix-this-error-please-your-ruby-version-is-3-0-0-but-your-gemfile-specified-2-4-1-i-need-to-work-on-ruby-3-0-0-so-i-need-to-upgrade-gemfiles/261236 "2021-04-15T10:49:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b5a626/32.png) [@Arew](https://www.ruby-forum.com/u/Arew)\
**Post date:** [April 15, 2021, 10:49am UTC](https://www.ruby-forum.com/t/how-can-i-fix-this-error-please-your-ruby-version-is-3-0-0-but-your-gemfile-specified-2-4-1-i-need-to-work-on-ruby-3-0-0-so-i-need-to-upgrade-gemfiles/261236/1 "2021-04-15T10:49:29Z")

</div>

How can I fix this error please. Your Ruby version is 3.0.0 but your Gemfile specified 2.4.1. I need to work on Ruby 3.0.0 so i need to upgrade gemfiles.

---

<div class="post-metadata">

**Author:** ![SouravGoswami](https://www.ruby-forum.com/user_avatar/www.ruby-forum.com/souravgoswami/32/2543_2.png) [@SouravGoswami](https://www.ruby-forum.com/u/SouravGoswami)\
**Post date:** [April 17, 2021, 6:05am UTC](https://www.ruby-forum.com/t/how-can-i-fix-this-error-please-your-ruby-version-is-3-0-0-but-your-gemfile-specified-2-4-1-i-need-to-work-on-ruby-3-0-0-so-i-need-to-upgrade-gemfiles/261236/2 "2021-04-17T06:05:28Z")

</div>

Well, that’s because your Gemfile specifies Ruby version 2.4.1. To fix this issue, you need to edit the Gemfile, and then in the `ruby '>= 2.4.1'`, notice the `>=`.

This should fix the issue.
