reinstall every gem for each ruby version?

前端 未结 3 1269
耶瑟儿~
耶瑟儿~ 2021-02-04 00:19

I just installed Ruby 2.0.0 using rbenv and set it to the global ruby version for my system. Since 2.0 is compatible with 1.9.3, I tried to start up a Rails project with it, but

3条回答
  •  遥遥无期
    2021-02-04 00:54

    As seen here:

    You need to reinstall bundler for each version of Ruby you use. See Ruby versions where you have it installed:

    rbenv whence bundle
    

    See your current version:

    rbenv version
    

    Install bundler for that version, if missing:

    gem install bundler
    

提交回复
热议问题