代码之家  ›  专栏  ›  技术社区  ›  Saw Thinkar Nay Htoo Lavekush Agrawal

未能安装bundle ruby版本管理器

  •  0
  • Saw Thinkar Nay Htoo Lavekush Agrawal  · 技术社区  · 7 年前

    我以前从没试过鲁比。我在试着运行这个 elixirschool github repo .

    我第一次收到这个错误信息。

    $ bundle install  
    Your Ruby version is 2.5.1, but your Gemfile specified ~> 2.3.7
    

    所以我遵循问题的指示。 How to fix "Your Ruby version is 1.9.3, but your Gemfile specified 2.0.0"

    现在我收到这个消息了。

    $ bundle install  
    Traceback (most recent call last):  
        1: from /usr/local/bin/bundle:23:in `<main>'
    /usr/local/bin/bundle:23:in `load': cannot load such file -- /usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle (LoadError)
    

    我也做了这个命令。

    $ bundler install
    Traceback (most recent call last):
        2: from /usr/local/bin/bundler:23:in `<main>'
        1: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems.rb:308:in `activate_bin_path'
    /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundler (Gem::GemNotFoundException)
    
    1 回复  |  直到 7 年前
        1
  •  0
  •   Saw Thinkar Nay Htoo Lavekush Agrawal    7 年前