DEV Community

Nuttee
Nuttee

Posted on

1

How to install bundler for Ruby < 2.3

You may get the following error when you attempt to install Bundler 2 with Ruby version < 2.3

ERROR:  Error installing bundler:
    bundler requires Ruby version >= 2.3.0.
Enter fullscreen mode Exit fullscreen mode

In order to address this, we must update the ruby version of your project or set up the last supported Bundler version for Ruby < 2.3

gem install bundler -v '~>1'
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay