Error installing Bundler

后端 未结 13 964
感情败类
感情败类 2020-12-05 07:17

I am trying to install the Bundler gem on my Mac. With the command: sudo gem install bundler I get the following error:

ERROR:  Could not find a         


        
13条回答
  •  粉色の甜心
    2020-12-05 07:39

    Bundler 2 requires at least Ruby 2.3.0 and RubyGems 2.5.0.

    You might get the following error when you try to install bundler for Ruby < 2.3:

    ERROR:  Error installing bundler:
    bundler requires Ruby version >= 2.3.0.
    

    To fix this error upgrade your project's ruby version OR Install the last supported version of Bundler for Ruby < 2.3 by running only below command.

    gem install bundler -v '~>1'
    

提交回复
热议问题