Bundler could not find compatible versions for gem “bundler”:

前端 未结 7 974
一向
一向 2020-12-15 04:37

Complete new person to Ruby and Rails here... Have tried some tutorials in the past, but that\'s about it. I\'m trying to follow \'Ruby on Rails 3 Tutorial\' book and have

7条回答
  •  佛祖请我去吃肉
    2020-12-15 05:20

    it is because gems are also installed in global gemset, and you can uninstall it using:

    rvm @global do gem uninstall bundler
    

    but you can also use the other version of bundler using:

    gem install bundler -v '~>1.0.0'
    bundle _1.0.0_ install
    

    replace 1.0.0 with the version that got installed (if other)

提交回复
热议问题