Bundle installs a ruby ​​catalog in my project

I tried to fix some kind of garbage that happened (disappointingly) by updating rubygems yesterday. To fix spork, I typed "bundle install spork" before I realized that I didn't actually type "gem install spork" and it installed everything in the spork directory in my project folder. I uninstalled this and tried to install the package. which seemed to work. But I just went to do the commit and noticed that I now have a ruby ​​directory in my project.

I deleted it, but now I don’t know how to get the package in order to return to the installation somewhere outside my project directory. Does anyone know which team will execute this?

+4
source share
3 answers

You must use the package installation system to return it to the default directory.

+1
source

If you accidentally call bundle install foo , then it will try to install your gems in the foo directory and also set this as your permanent choice in .bundle , so look at .bundle / config and make sure there is nothing superfluous there.

+6
source

bundle install without path argument for me.

0
source

All Articles