Bundle install tries to use cache file

前端 未结 5 1102
旧巷少年郎
旧巷少年郎 2021-02-09 22:40

When i try to do bundle install, my gem_path and gem_home point to /usr/local/rvm/gems/ which i don\'t have write access and it fails because of invalid permissions. because of

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-09 22:54

    If it's feasible, I recommend installing your own copy of rvm in ~/.rvm so you aren't tied to the system one. Trying to have a hybrid system+user approach will likely lead to more headaches later on.

    Or, if you're open to alternate solutions, rbenv is a leaner & cleaner ruby manager.

提交回复
热议问题