You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
Running sudo bundle install can cause huge and cascading problems for users trying to install gems on OS X into the system gems. We should print a warning and explain that Bundler will prompt for sudo if it's needed. We should also warn people that sudo bundle will break git gems, because they have to be writable by the user that Bundler runs as.
The text was updated successfully, but these errors were encountered:
Just wondering. I am not a Ruby buff, but can't you check the equivalent of running uname -s on the shell (and capturing its output) against a value of "Darwin" and only in that case issue the warning?
Running
sudo bundle install
can cause huge and cascading problems for users trying to install gems on OS X into the system gems. We should print a warning and explain that Bundler will prompt for sudo if it's needed. We should also warn people thatsudo bundle
will break git gems, because they have to be writable by the user that Bundler runs as.The text was updated successfully, but these errors were encountered: