What is the best way to uninstall gems from a rails3 project?

后端 未结 7 741
花落未央
花落未央 2021-01-29 23:25

I installed all of my gems using bundler via the Gemfile. I thought (mistakenly) that if I deleted a gem from my Gemfile and ran \'bundle install\' that the deleted gems would b

7条回答
  •  面向向阳花
    2021-01-29 23:58

    I seemed to solve this by manually removing the unicorn gem via bundler ("sudo bundler exec gem uninstall unicorn"), then rebundling ("sudo bundle install").

    Not sure why it happened though, although the above fix does seem to work.

提交回复
热议问题