How can I fix an accidental 'sudo bundle install dir_name'?

后端 未结 4 654
我在风中等你
我在风中等你 2020-12-16 00:41

I accidentally ran sudo bundle install smtp_mail and now all my gems are in this directory called smtp_mail inside my Rails app.

I\'m not s

4条回答
  •  遥遥无期
    2020-12-16 01:18

    After a bit of Googling around i was able to find the answer Just run:

    sudo bundle install --system and you'll have your gems back at their appropriate system directories.

提交回复
热议问题