Bundler installing gems in wrong location

前端 未结 4 804
迷失自我
迷失自我 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 20:57

    Had the same issue after I upgraded Xcode

    I had to run: sudo xcode-select --switch /Library/Developer/CommandLineTools/
    then: sudo bundle install --system

    After that everything was fine.

提交回复
热议问题