I'm using Debian Linux, Ruby on Rails 5 on Apache with Passenger. I crated the file ~/.gemrc
gem: --no-rdoc --no-ri
However, I'm running the command
sudo bundle install
and it doesn't seem to be picking up the above. How do I get "sudo" to recognize my "~/.gemrc" file?
ps - I have to run with sudo b/c the Apache directory from where I'm running this command complains about bad permissions if I don't do this.