Ignoring GEM because its extensions are not built

前端 未结 18 1373
陌清茗
陌清茗 2020-12-04 06:35

On both my work and home computers, I recently upgraded Ruby to 2.3.1, using ruby-install. I use chruby as my Ruby switcher.

I started seei

18条回答
  •  清歌不尽
    2020-12-04 07:23

    I came across this exact issue today - getting warnings like this for gems that weren't even installed!

    ... Well, it turns out the gems were installed - for a different ruby than the one I had set active with chruby (2.2.3 vs 2.3.1).

    Switching to all the different rubies and running gem pristine --all on all of them solved the problem.

提交回复
热议问题