Bundler installing gems in wrong location

前端 未结 4 805
迷失自我
迷失自我 2021-01-11 20:44

This is kind of bizarre. Any time I do a bundle install, Bundler installs all my gems to the path #{RAILS_ROOT}/json_pure/ruby/1.8/gems. I copied the Gemfile directly from a

4条回答
  •  佛祖请我去吃肉
    2021-01-11 21:08

    If you accidentally type bundle install SOME_GEM it seems to permanently set your gem directory to SOME_GEM.

    Looks like you can get back to normal with bundle install --system

    command-line-ui-fail

    Figured out from: http://www.theirishpenguin.com/2011/03/05/bundler-installing-gems-into-the-wrong-directory-mea-culpa/

提交回复
热议问题