I'm using Kali Linux and after I done apt-get dist-upgrade I keep receiving this ''Could not find rake-11.2.2 in any of the sources Run bundle install to install missing gems. '' When I do ''bundle install'' I receive this

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Could not locate Gemfile or .bundle/ directory`.

I have made another non-root user and it give me same thing + I have recreated ./bundle and same error after that and tried to reinstall 'rake-11.2.2 ' I can't because I receive same error like above.

If anyone can help me I will really appreciate. Thanks