Error installing Bundler

后端 未结 13 1042
感情败类
感情败类 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:30

    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:

    COPY

      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:

    COPY gem install bundler -v '~>1'

提交回复
热议问题